ASP.NET MVC - Internet Application
To learn ASP.NET MVC, we will build an Internet application.
Part 1: Creating the Application.
What We Will Build
We will build an Internet application that supports adding, editing, deleting, and listing information stored in a database.
What We Will Do
Visual Web Developer provides different templates for building web applications.
We will use Visual Web Developer to create an empty MVC Internet application with HTML5 markup.
Once this blank Internet application is created, we will gradually add code to it until it is complete. We will use C# as the programming language and the latest Razor server code markup.
Along this path, we will explain the content, code, and all components of the application.
Creating the Web Application
If you have Visual Web Developer installed, launch Visual Web Developer and select New Project to create a new project. Otherwise, you can only learn by reading the tutorial.
In the New Project dialog:
Open the Visual C# templates
Select the template ASP.NET MVC 3 Web Application
Set the project name to MvcDemo
Set the disk location, for example, c:\tutorialpro_demo
Click OK
When the New Project dialog opens:
Select the Internet Application template
Select the Razor Engine
Select HTML5 Markup
Click OK
Visual Studio Express will create a project similar to the following:
We will explore the files and folders in the next chapter of this tutorial.