Layouts And Sections With Razor

Yesterday night I had decided, that this morning I was going to sit down and write a post on the uses of the IsSectionDefined method in the Razor syntax, and how useful it was for determining if views were implementing certain sections in a layout. (which is very useful and provides a great deal of flexibility in your design) However this morning I awoke to find that Scott Guthrie had written about the same subject, and who am I to compete against The Gu. ...

December 30, 2010 · 1 min · 86 words · Nick Berardi

ASP.NET MVC 3 Preview 1 Released

The title says it all, so go get your copy today and check out all the new features. You can download it here. New features include: Razor View Engine Dynamic View and ViewModel Properties “Add View” Dialog Box Supports Multiple View Engines Service Location and Dependency Injection Support Global Filters New JsonValueProviderFactory Class Support for .NET Framework 4 Validation Attributes and IValidatableObject New IClientValidatable Interface Support for >NET Framework 4 Metadata Attributes New IMetadataAware Interface New Action Result Types (HttpNotFoundResultAction and HttpStatusCodeResultAction) Permanent Redirect Support in the controller (RedirectPermanent, RedirectToRoutePermanent, and RedirectToActionPermanent) Looks like this is going to be a very worth while upgrade, and a special thanks should be given to Phil and team for making ASP.NET MVC everything that ASP.NET WebForms isn’t.

July 27, 2010 · 1 min · 124 words · Nick Berardi