CHAPTER 5

image

Getting the Most from the Built-in Templates

5-1. Choosing an ASP.NET MVC 4 Project Template

Problem

You are about to start a new ASP.NET MVC project. You have opened Visual Studio and selected ASP.NET MVC 4 as your project type. You are now presented with a screen that lists several templates. You are not sure which one to choose and what the major differences are between them.

Solution

The Visual Studio templates provide a starting point for your project by including a basic web site structure, layout pages, and commonly used JavaScript libraries. The names of the templates clearly indicate each templates purpose and how you should ...

Get ASP.NET MVC 4 Recipes: A Problem-Solution Approach now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.