Friday, July 07, 2006

AJAX with .Net Framework v1.1

Yes, there are quite a few ways of doing that. If you are looking for a AJAX toolkit for .Net Framework 1.1 then you should have a look at AJAX.NET . It is a very popular free AJAX library compatible with version 1.1 of the .Net Framework. It has been written in C#. There is a quick guide (really quick) available from its site. All you need to do is to register the HttpHandler in your web.config from the *.dll supplied and mark your methods in code-behind as '[AjaxPro.AjaxMethod]' . Then you can directly call these functions from client side javascript , using their names !

You can download AJAX.NET from this site http://www.ajaxpro.info/default.aspx.


Frankly, to do AJAX you really don’t need a library or even a language(like ASP ,PHP,JSP) as such. There is a great article on Mozilla's developer site that shows how to do AJAX using only your web browser and javascript (yes that’s all !). Server side programming is required to fetch data for the AJAX call, it does not make AJAX possible. It is the XMLHTTP object built inside modern browsers that does the trick.

Read the article titled AJAX:Getting Started

Comments and criticism will be highly appreciated :-)

Site Meter