O'Reilly logo

Microsoft® Visual Studio® 2010 Unleashed by Lars Powers, Mike Snell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an MVC Project

You create an ASP.NET MVC application using the Visual Studio template, ASP.NET MVC 2 Web Application. This is an application template and not a website template. Therefore, it has its own project file and is configured slightly differently.

You can access this template from the Add New Project dialog box (right-click your solution and Select Add, New Project or select the menu option File, New, Project). Figure 17.70 shows an example of creating a site based on this template. Notice this experience is not unlike creating other projects in Visual Studio.

Figure 17.70 You create an ASP.NET MVC project using the related project template.

Visual Studio gives you the option to create a related unit test project for your MVC ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required