XMLHTTP primer on ASP.NET Support Voice


Brian Goldfarb sent me an email pointer to the latest ASP.NET Support Voice posting.  This one covers implementing an AJAX-style experience using XMLHTTP to asynchronously fetch data from a web service.


I also just noticed that Brian’s link to Bertrand’s post showing off how ASP.NET provides a simple programming model for these asynchronous callbacks.  Note his response in the comments section:



The ASP.NET callback feature already works on IE and Firefox and the final version will work on more browsers.
The example about wiring up several text boxes can be solved by the CallbackMultiplexer sample control that’s included in my sample workspace (http://www.gotdotnet.com/workspaces/workspace.aspx?id=cb2543cb-12ec-4ea1-883f-757ff2de19e8).


Very cool.

Comments (2)

  1. Found another link to someone trying to simplify AJAX implementations for .NET developers. I haven’t had time to check the code out yet, but the video is worth watching (at 2x speed 😉 to get a sense of the programming model he’s aiming for.

    http://weblogs.asp.net/mschwarz/archive/2005/04/11/399865.aspx

    http://ajax.schwarz-interactive.de/download/ajax.wmv

  2. RichB says:

    But it’s a shame that ASP.Net callbacks are not configurable to use IFrames instead of XmlHttp. There are many situations where the UEx requires a back button to be operational, but ASP.Net callbacks prevent this.