views:

113

answers:

2

All literature I see on creating custom handlers deals with associating an extension with a handler, e.g. if I wanted a handler for Ajax requests, I could implement the IHttHandler interface in an AjaxHandler class.

Now, to have individual instances of AjaxHandlers, e.g. DocAjaxHander, PersonAjaxHandler etc. how would I derive the base AJAX handling of my AjaxHandler class without registering each individual *.ajax page?

A: 

You can automatically handle AJAX request in a number of ways. Here's how to do it with a web service:

http://www.asp.net/AJAX/Documentation/Live/Tutorials/ConsumingWebServicesWithAJAXTutorial.aspx

Jonathan Parker
I didn't seem to me like I was asking how to handle AJAX requests. In fact, it seemed, to me, a lot like I was asking Http handlers, using a .ajax handler as an example. I don't want to be rude, but your answer has very little or nothing to with my question.
ProfK
A: 

Well, one way to do it would be via query string params...

dudeNumber4