MVC Contrib

This is the contrib project for the ASP.NET MVC framework. This project adds additional functionality on top of the MVC Framework. These enhancements can increase your productivity using the MVC Framework. It is written in C#. Founded by Eric Hexter and Jeffrey Palermo.


In the MvcContrib project there is an HTML helper for putting data into a <table>. The syntax looks like this:


<%= Html.Grid(item.Addresses)
            .Columns(column =>
                    column.For(a => a.City);
                    column.For(a => a.Country);
                    column.For(a => a.Street);   
            .Attributes(style => "width:100%")
            .Empty("No mailing address present!")

Beautiful, don’t you think?