7
Shouts

Comparing MVC 3 Helpers: Using Extension Methods and Declarative Razor @helper Syntax - Jon Galloway

published 784 days, 13 hours, 54 minutes ago posted by iftekharahmedamitiftekharahmedamit 786 days, 17 hours, 17 minutes ago
Tuesday, March 29, 2011 2:53:38 PM GMT Sunday, March 27, 2011 11:31:08 AM GMT

HTML Helpers provide a clean way to encapsulate view code so you can keep your views simple and markup focused. There are lots of built in HTML Helpers in the System.Web.Mvc.HtmlHelper class, but one of the best features is that you can easily create your own helpers. While you've been able to create your own helpers since MVC 1 using extension methods, the Razor view engine gives you a new option to create helpers usi...

category: Web Dev | clicked: 12 | | source: weblogs.asp.net | show counter code
tags: ASP.NET MVC 3, ASP.NET MVC, Extension Methods, Razor Syntax, MVC 3, Helpers, MVC, ASP.NET