Library tutorials & articles

Implementing AJAX in ASP.NET

Background

Asynchronous JavaScript and XML (AJAX) has recently become the craze thanks, in no small part, to Google’s usage of it in Google Suggest as well as Google Maps. In ASP.NET terms, AJAX allows server-side processing to occur without requiring postback, thus enabling clients (browsers) with rich server-side capabilities. In other words it provides a framework for asynchronously dispatching and processing requests and responses from the server. AJAX leverages a number of existing technologies, which aren't particularly new, however fondness for what these technologies have to offer (collectively, they are AJAX) has recently soared.

Enter Michael Schwarz's AJAX .NET wrapper which allows ASP.NET developers to quickly and easily deploy pages capable of easily capitalizing on AJAX. Users should be cautioned that the wrapper is early in development, and as such isn't fully matured.

It should be pointed out that technologies such as AJAX are very likely going to lead to violations of layered architectures (N-Tier). My opinion is that AJAX increases the likelihood that the presentation logic layer (or worse, the business layer) will leak into the presentation layer. Strict architects, like me, might cringe at this notion. I feel that even if AJAX is used in a manor which slightly violates layer boundaries, the payoffs are well worth it. Of course, that's something you'll need to look at for your specific project and environment.

Comments

Leave a comment

Sign in or Join us (it's free).

Karl Seguin
AddThis

Related podcasts

  • Brad Abrams: .NET Yesterday & Today

    Brad Abrams, Group Program Manager for UI Framework and Services, sits down with Craig Shoemaker to discuss some of the origins of the .NET Framework and what's to come from Silverlight, ASP.NET MVC and ASP.NET AJAX.

Events coming up

  • Jul 14

    Higher Education Web Symposium

    Philadelphia, United States

    The first and only web design conference for IT Professionals working in Higher Education. Join us and meet world renowned experts in the fields of usability, user centered design, CSS, AJAX and many others. Designers, Developers, and Project Mana...

Want to stay in touch with what's going on? Follow us on twitter!