Re: How to get a handler for a path
- From: allenc@xxxxxxxxxxxxxxxxxxxx (Allen Chen [MSFT])
- Date: Tue, 27 Oct 2009 05:22:01 GMT
Hi Marvin,
Thank you for your reply.
I have a hanlder that can handle any path but I let my users chose what
files, extensions (or wildcard) they want to handle.
So I don't know what they have configured.
And I would like to be able to get the actually configured handler for
any given path/verb so that I can know if that's mine and handle specially.
I'm a little confused. Is my understanding correct that:
1. You have control over the HttpHandler class only.
2. You don't know how the users of HttpHandler set their web.config and CAS
of server machine.
3. With above restrictions, you still want your HttpHandler to handle all
requests.
Am I right? If so as far as I know there's no way to do so because it's
insecure. If my understanding is wrong could you please clarify what you
want to do?
BTW, have you tried HttpModule? Can it solve this issue?
http://msdn.microsoft.com/en-us/library/aa719858(VS.71).aspx
Regards,
Allen Chen
Microsoft Online Support
.
- Follow-Ups:
- Re: How to get a handler for a path
- From: Marvin Landman
- Re: How to get a handler for a path
- References:
- How to get a handler for a path
- From: Marvin Landman
- Re: How to get a handler for a path
- From: bruce barker
- Re: How to get a handler for a path
- From: Marvin Landman
- Re: How to get a handler for a path
- From: Allen Chen [MSFT]
- Re: How to get a handler for a path
- From: Marvin Landman
- How to get a handler for a path
- Prev by Date: RE: How to remove a compiled type from the cache
- Next by Date: Hosting Wpf Broser application
- Previous by thread: Re: How to get a handler for a path
- Next by thread: Re: How to get a handler for a path
- Index(es):
Relevant Pages
|