04 November 2009 ~ 0 Comments

ASP.NET MVC 2 Goodness from the DotNetAddict – Templated Helpers and jQuery Validation with DataAnnotations

My good friend and colleague Kevin Hoffman (known aliases: the notorious DotNetAddict) has recently posted some great stuff related to ASP.NET MVC 2.

He has a great introduction to templated helpers, which will blow your mind if you haven’t looked into them yet. Basically, they allow you to automatically place partial controls based on the data types being used. The cleanliness and simplicity they add to your markup while retaining all of the powerful and feature-rich user interfaces that you need is just awesome.

http://dotnetaddict.dotnetdevelopersjournal.com/mvc2_templated_helpers.htm

He also has a post about having ASP.NET MVC automatically generate client-side jQuery validation by using DataAnnotations. I’ve been in a committed long-term relationship with jQuery for a long time (not to mention the unhealthy relationship I had with Microsoft AJAX which ended in a nasty breakup) and I love the integration the Microsoft MVC guys have built-in here. Bravo, guys!

http://dotnetaddict.dotnetdevelopersjournal.com/clientvalidation_mvc2.htm

I highly recommend you take even five minutes and read through these posts. They provide a ton of insight into some of the new stuff MVC 2 has to offer and it will make you want to load up Visual Studio 2010 Beta 2 as soon as possible!

Tags:

Leave a Reply

Switch to our mobile site