This section explains how to create
Web application.To learn ASP.NET MVC, we will build an Internet application.
Part 1: Create the application.
We will build an Internet application that supports adding, editing, deleting, and listing information stored in a database.
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 the application until it is complete. We will use C# as the programming language and use the latest Razor server code markup.
Along this line, we will explain the content, code and all components of this application.
If you have installed Visual Web Developer, please start Visual Web Developer and select New Project to create a new project. Otherwise you'll just have to learn by reading tutorials.
In the New Project dialog box:
Open the Visual C# template
Select template ASP.NET MVC 3 Web Application
Set the project name to MvcDemo
Set the disk location, such as c:w3cschool_demo
Click OK
When the New Project dialog box opens:
Select Internet Application template
Select Razor Engine
Select HTML5 Markup (HTML5 markup)
Click OK
Visual Studio Express will create a project similar to the one shown below:
We'll explore files and folders in the next chapter of this tutorial.