Oct
26
2009
How to create asp.net mvc application
Step1: Start -> Programs -> choose VS2008 or 2005 -> File-> Project -> choose web (project type Visual C#) ->choose Asp.Net MVC Web Application -> Application name is myFirstMVCapp -> Go to Solution explorer -> you will observe Model, View and Controller folder.
Then click ok
By default,
Controller folder contain AccountController.cs and HomeController.cs
Views contain three folders Account, Home and Shared.
Model: In Model create ADO.Net Entity Data Model (edmx) or Linq to SQL Classes (dbml)
Now Run the application . It show with some default page out put without writing any code ( About page and Default page).
