Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.

Sponsors

News

 
 
 
DZone MVB

Links

Social

ASP.NET MVC 4: New template for web applications

I’m playing with ASP.NET MVC 4 Developer Preview. There is new default application template available for ASP.NET MVC 4 web applications. New template is modern, has better look than current one and has better support for different screen sizes. In this posting I will show you how new template looks like.

When you create new internet application and open it in your web browser then you will see this nice and simple page.

aspnet-mvc4-default-template
ASP.NET MVC 4: Main page of new default web application.
Click on image to see it in original size.

The registration paged is shown in two different modes. When you click Register link then registration form is shown in dialog. You can also type in URL to registration view and then it it shown as usual page.

aspnet-mvc4-register

New template provides different page layout for content pages. There’s no big header and you can also see menu on right.

aspnet-mvc4-about
ASP.NET MVC 4: Sample content page.
Click on image to see it in original size.

New template supports also adaptive rendering and looks nice also on devices with small screen. You can try it also with your browser by making browser window smaller.

aspnet-mvc4-small

New templates look better than old ones but I think there’s still room enough for improvements like hierarchical menus and more professional look. Although I can always find something to take on I still think that new template looks nice and you can use it at least in your in-house applications.

Posted: Sep 16 2011, 12:09 PM by DigiMortal | with 5 comment(s)
Filed under: ,

Comments

Luxit said:

I like the new template. Much better then previous :)

# September 16, 2011 9:04 AM

Siim said:

I share the opinion that the new look is a way better than the old one.

But what you mean by "hierarchical menus" and more professional look? By hierarchical menus you mean something like MvcSiteMapProvider provides?

# September 16, 2011 6:51 PM

DigiMortal said:

It doesn't matter if it is public web site, some portal or intranet application - you still need more than one level for navigation. It's not nineties anymore :)

By more professinal look I mean something that has more wow-effect on customers.

# September 17, 2011 2:41 PM

Pablo said:

Someone know if this template can be migrated to an asp.net 4 web application project?

# December 11, 2011 9:41 PM