ASP.NET MVC 3 Beta: View start files for Razor view engine

added by gpeipman
10/10/2010 7:47:30 AM

3 Kicks, 259 Views

To follow better DRY (Don’t Repeat Yourself) principle Razor views support now defaults that are applied to all views in ASP.NET MVC web application. Default can be applied by special file so you have one place where everything common is defined. In this posting I will show you how defaults work and how to use them.


0 comments