Sunday, December 25, 2011

Asp.net MVC with Entity Framework

Hi Friends,

I have created one demo application for beginners who wants to understand
Asp.net MVC,jquery and Entity Framework. All working together.

Tools Used:
Visual Studio 2010 Ultimate
Sql express

Database file (DemoApp.mdf) is available in App_Data folder.

Description:
Database Tables:
1. User - Contains basic information for user.
2. UserDetails - contains more information for user.

Entity Framework:
Considering beginners the two tables created in above step are used.
No configuration or Code changes have been done for EF.

MVC:
Empty mvc web site template has been used.

More details:
One area called 'User' is created to show example.

EF file and Business layers files have been put in BL folder. Which can be moved to another project containing only business layer related activities.

Helper folder is created to add
one more layer of separation between business layer and controller
also for code re-usability

Click to download

1 comment:

ankit gandhi said...

Nice Work, its really helpful for newbie.