Search w3schools.com:

SHARE THIS PAGE

ASP.NET MVC - Internet Application


To learn ASP.NET MVC, we will Build an Internet Application

Part I: Creating the Application


What We Will Build

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


What We Will Do

Visual Web Developer offers different templates for building web applications.

We will use Visual Web Developer to create an empty MVC Internet application with HTML5 markup.

When the empty Internet application is created, we will gradually add code to the application until it is fully finished. We will use C# as the programming language, and the newest Razor server code markup.

Along the way we will explain the content, the code, and all the components of the application.


Creating the Web Application

If you have Visual Web Developer installed, start Visual Web Developer and select New Project. Otherwise just read and learn.

New Project

In the New Project dialog box:

  • Open the Visual C# templates
  • Select the template ASP.NET MVC 3 Web Application
  • Set the project name to MvcDemo
  • Set the disk location to something like c:\w3schools_demo
  • Click OK

When the New Project Dialog Box opens:

  • Select the Internet Application template
  • Select the Razor Engine
  • Select HTML5 Markup
  • Click OK

Visual Studio Express will create a project much like this:

Mvc Explorer 

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




W3Schools Certification

W3Schools' Online Certification

The perfect solution for professionals who need to balance work, family, and career building.

More than 10 000 certificates already issued!

Get Your Certificate »

The HTML Certificate documents your knowledge of HTML.

The HTML5 Certificate documents your knowledge of advanced HTML5.

The CSS Certificate documents your knowledge of advanced CSS.

The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.

The jQuery Certificate documents your knowledge of jQuery.

The XML Certificate documents your knowledge of XML, XML DOM and XSLT.

The ASP Certificate documents your knowledge of ASP, SQL, and ADO.

The PHP Certificate documents your knowledge of PHP and SQL (MySQL).

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]