HTTP Modules & Handlers or ISAPI?

24/10/2003 - 17:13 por PCC | Informe spam
I need to be able to redirect web requests from certain parties to specific
content. In the old days I would have used ISAPI to do this. Now days I am
wondering if I should be doing this using HTTP Modules & Handlers or ISAPI.
All the machines are running IIS6 and have the .NET framework installed. In
the end I would like to code in C# but am concerned about the performance
cost of using HTTP Modules & Handlers over that of just using ISAPI. On
thing I thought of was using ISAPI and then just called code I have written
in C#, but then I have the performance hit of marshalling.



Would you please share your thoughts here? What is the best and fastest way
to do this (in any language)? What is the best and fastest way to do this
using C#, and how bad will the performance hit I take be? Any suggestions,
articles, links, samples, etc. would be greatly appreciated. Thank you.
 

Leer las respuestas

#1 Dmitriy Lapshin [C# / .NET MVP]
24/10/2003 - 17:49 | Informe spam
Hi,

I think HTTP handlers are the managed way to go. They of course will be
little bit slower than properly designed ISAPI, but since they are compiled
into managed code, I don't think there will be performance penalty.

Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"PCC" wrote in message
news:
I need to be able to redirect web requests from certain parties to


specific
content. In the old days I would have used ISAPI to do this. Now days I


am
wondering if I should be doing this using HTTP Modules & Handlers or


ISAPI.
All the machines are running IIS6 and have the .NET framework installed.


In
the end I would like to code in C# but am concerned about the performance
cost of using HTTP Modules & Handlers over that of just using ISAPI. On
thing I thought of was using ISAPI and then just called code I have


written
in C#, but then I have the performance hit of marshalling.



Would you please share your thoughts here? What is the best and fastest


way
to do this (in any language)? What is the best and fastest way to do this
using C#, and how bad will the performance hit I take be? Any


suggestions,
articles, links, samples, etc. would be greatly appreciated. Thank you.


Preguntas similares