HTTP handlers/Modules vs ISAPI dlls

N

Norton

I had a person tell me the other day that a person would not be able to beat
the efficiency of an ISAPI dll, especially by using handlers/modules. Of
course, they could only say the reason was that it is written in C++, which
should have nothing to do with it.

But, in general, can you write a handler that will handle just as many
connections as an ISAPI dll? Isn't a handler a managed code answer to the
ISAPI dll solution?

Thanks.

Norton.
 
S

Scott Allen

Speaking *generally*:

I can write an ISAPI filter in C++ that is more performant than a C#
module implementing the same functionality. This would be because the
filter is written in C++.

Also speaking generally:

The C++ version would take 4x as long, would have 4x the number of
bugs, and have 4x the number of security holes. Just memory management
alone in a non-trivial ISAPI filer required very careful attention to
detail.

A handler written in managed code is the answer to an ISAPI dll. There
are so many benefits to managed code I'd never consider doing it in
C++ again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top