Improved JavaScript Model Binding in ASP.NET MVC 3 Preview 1

A new addition to ASP.NET MVC 3 Preview 1 has been the improvement in model binding JSON data posted to an action through an Ajax form post. This makes it simple to post JSON data to any action method. Sometimes in ASP.NET MVC 2 this was difficult to do, but not anymore. Instead of me talking about it, let's jump into an example to show you how the improvement works. To see this in action, you'll need to download ASP.NET MVC 3 Preview 1 which can be found here. For beta software, I always recommend installing this on a virtual machine, just in case something goes wrong.


Опубликовал admin
9 Окт, Суббота 2010г.



Программирование для чайников.