HttpModule or HttpHandler?

HttpModule or HttpHandler?

am 30.01.2008 20:43:16 von Guzeppi

if i want to create a redirection service, i.e. requests on a certain url
are redirected to other urls depending on the querystring parameters in the
request, what is best to use in this case httpmodule or httphandler? which
gets executed first in the asp.net pipeline?

Re: HttpModule or HttpHandler?

am 30.01.2008 21:55:51 von xyz_john

Modules get executed before handlers

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog


"Guzeppi" wrote in message
news:uBOubh3YIHA.4684@TK2MSFTNGP06.phx.gbl...
> if i want to create a redirection service, i.e. requests on a certain url
> are redirected to other urls depending on the querystring parameters in
> the request, what is best to use in this case httpmodule or httphandler?
> which gets executed first in the asp.net pipeline?
>

Re: HttpModule or HttpHandler?

am 31.01.2008 12:30:21 von nemtsev

Hello Guzeppi,

I recommend to read this http://msdn2.microsoft.com/en-us/library/bb398986.aspx

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


G> if i want to create a redirection service, i.e. requests on a certain
G> url are redirected to other urls depending on the querystring
G> parameters in the request, what is best to use in this case
G> httpmodule or httphandler? which gets executed first in the asp.net
G> pipeline?
G>