ASP.NET MVC 3: Layouts with Razor
page 1 of 10
Published: 22 Oct 2010
Unedited - Community Contributed
Abstract
In this article, Scott examines the functionality of layout pages with Razor with special reference to the improvements introduced in the recent ASP.NET MVC 3 Beta. He provides a detailed coverage of each steps with relevant source codes and screenshots. Towards the end of the article, Scott examines the relevance of Refactoring and usage of _ViewStart file with few tips for advanced developers.
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 20719/ 196

Introduction

Republished with Permission - Original Article

People Two weeks ago we shipped the ASP.NET MVC 3 Beta Release.  It supports “go live” deployments, and includes a bunch of nice improvements/enhancements.  You can see a summary of the new ASP.NET MVC 3 features in my beta announcement post.  Also read my original ASP.NET MVC 3 Preview post to learn about other ASP.NET MVC 3 features that showed up with that initial preview release.

This is another in a series of “mini-posts” I’m doing that talk about a few of the new ASP.NET MVC 3 Beta features in more detail:

New @model keyword in Razor (Oct 22nd)

Layouts (this post)

In today’s post I’m going to discuss layout pages with Razor, and discuss some of the improvements to them that we introduced with the recent ASP.NET MVC 3 Beta.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2014 ASPAlliance.com  |  Page Processed at 9/20/2014 5:58:33 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search