Geeks With Blogs


Add to Google

Tim Hibbard CEO for EnGraph software

I've been brushing up my AJAX talk for next week's Code Camp. One of the things I want to talk more about is why to use the AJAX.NET library instead of the XMLHttpRequest object. Having used them both, I can say that I feel more like a hardcore geek when I use the XMLHttpRequest, but I get more done when I use AJAX.NET. Here's the main reasons why:

1) All my business code stays in .NET. I can create reusuable classes that I can use in other applications. I can use intellsense and my own custom objects. Also, you don't have to use the ugly javascript methods of parsing XML. You can use the friendly XMLTextReader.

2) Cross domain calls. You can't talk to other servers with the XMLHttpRequest object. This makes it hard to use all the APIs over at programmableweb. With, just create a .NET class that talks to any server and return the data back to your javascript.

Posted on Friday, September 8, 2006 3:39 PM .NET , | Back to top

Comments on this post: Using instead of XMLHttpRequest

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Tim Hibbard | Powered by: