Expose your Existing ASP.NET MVC Actions as JSON/XML API Endpoints
Why write separate actions to provide a JSON/XML API in ASP.NET MVC? If you are already using view models, MVC API Action Filter makes reusing your existing actions quick and clean.
Web and Game Developer
Why write separate actions to provide a JSON/XML API in ASP.NET MVC? If you are already using view models, MVC API Action Filter makes reusing your existing actions quick and clean.
In a previous post, we built a model-aware validator using Foolproof for ASP.NET MVC. Now, it’s time to create the client side version because posting back sucks.
Stop writing render code in multiple places in your ASP.NET MVC ajax applications. Learn how to push your model to the browser and use jQuery to bind it to templates.
Using Foolproof’s ModelAwareValidationAttribute class, you can create custom model-aware data annotations to solve any complex validation scenario.
Use ASP.NET MVC’s EditorFor to render a drop down list from a view model. Then use a custom model binder to bind the selection back to the view model.
Use the plug-in postify.js to handle posting complex JavaScript objects to ASP.NET MVC controllers using the default model binder.
Implement a simple jQuery plugin that simplifies AJAX-based polling in your web applications.
Learn how to reuse ASP.NET MVC Partial Views from your JavaScript using AJAX.