13.7. Creating the MVC Application

In the example, you will create an MVC site for Bob, who owns a movie theater. Bob has a movie theater imaginatively called Bob's Movie Theatre. Bob's movie site will display lists of films, a detail page for each film, and also the skeleton of an administration interface.

1. In Visual Studio, select File New Project.

4. Expand the C# node, and click Web.

5. Choose ASP.NET MVC 2 Web Application. Give the project the name Chapter13.BobsMoviesMVC, and click OK.

6. Visual Studio will ask you whether you want create a unit test project; click Yes.

7. Visual Studio will now create your ASP.NET MVC project.

13.7.1. Project ...

Get Introducing .NET 4.0: with Visual Studio 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.