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 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.