TechBubbles Microsoft Technology BLOG

ASP.NET MVC 4 Application Templates explained

When you create a new MVC 4 project in Visual Studio 2012, you will be presented with different option as shown in the below picture, Each project template sets up different folders in your application. This post explains the each project template purpose

image

Empty Template

The new Empty Template has got assemblies, web.config and basic folder structure. No default page, you have to add everything that you want to the solution and structure of the solution explorer looks as below.

image

Basic Template

This template has the basic folders, CSS and basic MVC application structure. The difference between Empty and basic template is you only find content and scripts folders in basic template. This template is for experienced developers who can setup everything them self

image

Internet Application Template

This template contains all folders that you can start the application immediately after creating it. This template includes account management functions which runs against ASP.NET membership system.

Intranet Application Template

This template was introduced in MVC3 and it looks exactly like Internet Application Template except the account management functions runs against Windows accounts.

Mobile Application Template

This template was targetted for creating a mobile ready website. This template preconfigured with JQuery mobile. It includes mobile themes and support for Ajax.

image

Web API Template

This template is for creating the HTTP services. It is similar to the Internet Application template but without account management functions. This Web API functionality is also available for other MVC project templates and non-MVC project types.

Single Page Application Template

This template was shipped with Web Tools 2012.12 update. Using this template you can build applications  for client side interactions using HTML5, CSS3 and JavaScript. You do not need any browser plug-ins needs to install for this architecture, it is a standard web technology that is going to work on any device, operating system and browser.

Facebook Application Template

This template was shipped with Web Tools 2012.12 update.ASP.NET Facebook template which actually uses the open source Facebook C# SDK, which helps the developers to build the Facebook Canvas applications.

About the author

Kalyan Bandarupalli

My name is kalyan, I am a software architect and builds the applications using Microsoft .NET technologies. Here I am trying to share what I feel and what I think with whoever comes along wandering to Internet home of mine.I hope that this page and its contents will speak for me and that is the reason I am not going to say anything specially about my self here.

Add Comment

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud