开发者

How to create ValueProvider for MVC

I want to create a Valueprovider in ASP.Net.MVC 2 Beta. My Value source would be a JS开发者_开发百科ON


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜