Geeks With Blogs


What I do:

Identity Mine

MVVM Light


What I am:

Microsoft Most Valuable Professional, Client Application Development

Microsoft Certified Technology Specialist, Windows Presentation Foundation

WPF disciples


View my profile on LinkedIn

Creative Commons License
Diary of a Code Trotter by Laurent Bugnion is licensed under a Creative Commons Attribution 3.0 Unported License

All source code on this blog is licensed under the MIT license.

Copyright (c) 2006 - 2011 GalaSoft Laurent Bugnion

Laurent Bugnion (GalaSoft) Diary of a Code Trotter
I posted on my website an article showing in detail how to use an ASHX generic HTTP handler to answer simple AJAX requests. This is itended as an answer to many questions on various newsgroups I visit, asking how to use web services to perform simple tasks. In many cases, using SOAP based web services is overkill, and it's much easier and faster to use AJAX with plain old XML (POX) as a transport medium. It has actually become even easier with ASP.NET 2.0 and the ASHX handler, which allows lightweight handling of HTTP requests, without the heavy .NET machinery. ASHX handlers are a very elegant way to avoid all this, and provide an lean entry point to server-side code.
The first part of the article deals about the server-side implementation of the service, including a demo. In a next article, I will show how to implement a client in web browser based JavaScript for this service, and how to consume it.
Posted on Friday, October 6, 2006 11:55 AM Technical stuff , .NET , ASP.NET 2.0 | Back to top

Comments on this post: A simple AJAX service using Plain Old XML (POX), Part 1: Server-side implementation

Comments are closed.
Comments have been closed on this topic.
Copyright © Laurent Bugnion | Powered by: