ASP.NET MVC - Internet Application

To learn ASP.NET MVC, we will build an Internet application.

Part 1:Create Application

What We Will Build

We will build an Internet application that supports adding, editing, deleting, and listing information in the database.

What We Will Do

Visual Web Developer provides different templates for building web applications.

We will use Visual Web Developer to create HTML5 Tagsblank MVC Internet application.

After this blank Internet application is created, we will gradually add code to the application until it is completely finished. We will use C# as a programming language, as well as the latest Razor Server Code Tag.

Following this path, we will explain the content, code, and all components of the application.

Create web application

If you have installed Visual Web Developer, please start Visual Web Developer and selectNew Project. Otherwise, you can only learn by reading the tutorial.

InNew ProjectIn the dialog box:

  • Open Visual C# Template
  • Select a template ASP.NET MVC 3 Web Application
  • Set the project name to MvcDemo
  • Set the disk location, such as c:\codew3c_demo
  • ClickOK

When the New Project dialog box opens:

  • Select Internet Application Template
  • Select Razor Engine
  • Select HTML5 Tags
  • ClickOK

Visual Studio Express will create a project similar to this:

We will clarify the content of files and folders in the next chapter of this tutorial.