Fork me on GitHub

New Experiment: Fluent Knockout Helpers

Over the past couple months I have grown addicted to using Knockout.js to quickly create highly interactive views using ASP.NET MVC and WebAPI. With this combination of tooling and a single page application approach I have found this pattern to be most efficient for me: MVC – Serves up the views containing markup, Knockout bindings, ...

jQuery File Download v1.1.0 Released 7

The Basics Updated: Original post jquery.fileDownload.js source Demo of jQuery File Download in action using MVC 3 Changelog Whats new? In order to make jQuery File Download a little bit easier to use for a rich user experience (jQuery UI required) I have added some additional “options” arguments. These options arguments create a jQuery UI ...

jQuery File Download Plugin for Ajax like, feature rich file downloads 239

jquery.fileDownload.js Library jQuery File Download is a cross server platform compatible jQuery plugin that allows for an Ajax-like file download experience that isn’t normally possible using the web. Demo of jquery.fileDownload.js in action with some different examples Example VS2010 MVC 3 application using jquery.fileDownload.js GitHub – Send me a pull request! Download jquery.fileDownload.js v1.2.0 – ...

Ajax.BeginForm AjaxOptions custom arguments for OnComplete, OnSuccess, OnFailure and OnBegin 6

Some interesting behavior I noticed recently about the Microsoft MVC 3 jQuery library jquery.unobtrusive-ajax.js is the ability to pass you own arguments into the handler. Normally you have probably used it like this: C# @using (Ajax.BeginForm(new AjaxOptions{OnComplete = "DefaultEditOnComplete"})) { //Person data and submit button } 123456  @using (Ajax.BeginForm(new AjaxOptions{OnComplete = "DefaultEditOnComplete"})){    //Person data and submit ...

ASP.NET Concurrent Ajax Requests and Session State Blocking 11

ASP.NET Concurrent Ajax Requests and Session State Blocking
Intro Today I ran into a pretty interesting and puzzling issue while trying to load many different long running content areas on a screen asynchronously via Ajax & jQuery. It appeared that if I shot off Ajax Request A, B, C, D… that they would always return one after the other (roughly). They never deviated ...

The Unobtrusive Libraries & Client Validation on Ajax in ASP.NET MVC 3 4

MVC 3 Unobtrusive Client Validation and Unobtrusive Ajax Overview As you may be aware, ASP.NET MVC 3 allows the possibility of using unobtursive client validation and unobtrusive Ajax. If enabled, in a nutshell this means that the stock Microsoft JavaScript libraries for both Ajax and validation (MicrosoftAjax.js and MicrosoftMvcValidation.js respectively) have been effectively swapped out ...