HtmlHelper

FacebookTwitter
ASP.Net mvc 2.0 beta, supports templates feature. Templates are a way to write reusable view code. They significantly simplifies the code we need to write in views. You can read more about templates here . In this post I will show a way to extend the ModelMetadata and add support for Html Attributes which can be used in templates.

Kiran Chand's Blog : Adding html attributes support for Templates - ASP.Net MVC 2.0 Beta

http://aspadvice.com/blogs/kiran/archive/2009/11/29/Adding-html-attributes-support-for-Templates-_2D00_-ASP.Net-MVC-2.0-Beta_2D00_1.aspx
http://www.asp.net/mvc/tutorials/older-versions/views/using-the-tagbuilder-class-to-build-html-helpers-cs

Using the TagBuilder Class to Build HTML Helpers

Home / MVC / Tutorials / Chapter 10. Older Versions / ASP.NET MVC Views / TagBuilder Class to Build HTML Helpers Stephen Walther introduces you to a useful utility class in the ASP.NET MVC framework named the TagBuilder class. You can use the TagBuilder class to easily build HTML tags.

Build a MVC web site HtmlHelper library and deliver it with NuGet - I Want My MVC

Posted on April 28th, 2011 If your workload includes crafting multiple web sites you know that there are several components that are commonly used in each site. Some of those common elements are Google's Analytics tracking JavaScript and meta tags used in the site submission process to help verify site ownership to both Google and Bing. It would be super ideal if we could try and find a way to have that code already written and be able to quickly add it to a new web site project built upon ASP.NET MVC3. http://www.iwantmymvc.com/mvc-web-site-htmlhelper-library-and-nuget