473,395 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

HTTP handlers/Modules vs ISAPI dlls

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.
Nov 18 '05 #1
2 2031
If you read:
http://www.dotnetjunkies.com/Article...B2E50CBFA.dcik

Specifically 2 paragraph above the conclusion, they say the same thing as "a
person" did.

We shouldn't be surprised that unmanged C++ is faster than any managed code.
But there are a lot of other things we shouldn't be too surprised about
unmanaged code either

Karl

"Norton" <th********@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP10.phx.gbl...
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.

Nov 18 '05 #2
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.

--
Scott
http://www.OdeToCode.com

On Sun, 22 Aug 2004 20:46:21 -0400, "Norton" <th********@hotmail.com>
wrote:
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.


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mark | r | last post by:
anyone know how to use this component, am i right in thinking that it will convert something like default.asp?pageid=100&cat=74 to default,100,74.html (or something similar) ? mark
3
by: Roberto | last post by:
Hi, I have Visual C++ .NET, Standard edition, and the option for making an ISAPI DLL project is not there. Does anyone know why this might be? I have Windows XP Professional, and IIS 5.1. ...
3
by: PCC | last post by:
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...
0
by: Shiraz | last post by:
Hi I have a question regarding the functionality of merge modules. Since this relates to my previous queries, I'll just give you a brief background on the topic. I had to make an installer for...
5
by: Chris Hughes | last post by:
I have an environment with many thousands of client machines uploading data files several times each day to a web server via HTTP PUT. To avoid disk I/O (for performance), I am implementing a...
3
by: Steven Livingstone | last post by:
Hello all. I have a class that modifies the response sent to a user, but it works as far as the ReleaseRequestState event and not in the UpdateRequestCache event. So two questions : 1....
2
by: Norton | last post by:
I understand how to create HTTP modules that can be used to add functionality to a website but there are a few things I don't understand. If I create an HTTP Module and I want it to intercept a...
9
by: Tim Payne | last post by:
If I were writing an HTTP module where I wanted to access the response text that was being sent back to the user, what would be the optimum method for doing this within the module? I'm...
9
by: Andy Fish | last post by:
Hi, I am wondering if there is any way to log the HTTP traffic on an IIS server (including headers but preferably the body as well), either at the IIS or asp.net level I know I could write my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.