I want to create a Valueprovider in ASP.Net.MVC 2 Beta. My Value source would be a JSON
+2
A:
Check out JsonValueProviderFactory from MVC 2 RC Futures. Download the source ZIP; the particular file you should look at is src\MvcFutures\Mvc\JsonValueProviderFactory.cs. To hook it up, add it to the static ValueProviderFactories.Factories collection from within Application_Start.
Levi
2009-12-24 02:03:24
Levi, Unable to find it.. which Change Set has this ?
TonyP
2009-12-24 13:08:44
It's in the linked ZIP file ("ASP.NET MVC 2 RC Source Code"). The MVC 2 preview release sources have been going up as ZIP files in the Downloads tab, not the Source Code tab.
Levi
2009-12-25 01:03:40