Friday, 30 December 2016

Create Asp.net MVC Demo Application using Entity Framework

1. Open Visual Studio
2. Create a New Project
3. Select Asp.net Web Application and select MVC template



4. Create Database
5. Install Entity Framework using "Manage Nuget Packages".
6. Right Click the project and add "ADO.Net Entity Data Model"
















7. Add a new Controller to the Controller Folder named EmployeeController.








8. Change RouteConfig.cs accordingly and run the project.

No comments:

Post a Comment

Thanks

SQL server tricky questions