473,503 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTTPhandler as powerfull as isapi extensions?

HI MS,

I have read from official microsoft msdn that an HTTPhandler in .NET can do
anything a c++ isapi extension can do. Only a .NET HTTPhandler has a much
more easy programming model.

However I cannot find any documentation on how to receive an HTTP request (
HTTPcontext ) with an HTTPhandler and keep the connection alive.
The HTTPcontext is always closed.

Also in the MSDN library 2003 in the isapi section there is an atricle "keep
alive with worker threads" that explains how to build a c++ isapi extension
that receives the HTTP request and keeps it alive. But the sample code is no
where to be found anymore.

Please MS show me where I can find documentation on how to keep alive
connections using .NET HTTPhandlers or show me where I can find the original
c++ isapi extension sample "keep alive with worker threads" so that I can
begin using c++ on building a really powerfull isapi extension.
Nov 19 '05 #1
2 3329
this is true in iis 7.0, but in ii6.0, .net handlers run the asp.net worker
process and use a named pipe to communicate the .net isapi filter.

for iis 6.0, you really need to c/c++. also look at the new HTTP api in
server 2003, this is probably want you really want to use. look in server
2003 platform sdk
-- bruce (sqlwork.com)


"yachtIT" <ya*****@discussions.microsoft.com> wrote in message
news:D6**********************************@microsof t.com...
HI MS,

I have read from official microsoft msdn that an HTTPhandler in .NET can
do
anything a c++ isapi extension can do. Only a .NET HTTPhandler has a much
more easy programming model.

However I cannot find any documentation on how to receive an HTTP request
(
HTTPcontext ) with an HTTPhandler and keep the connection alive.
The HTTPcontext is always closed.

Also in the MSDN library 2003 in the isapi section there is an atricle
"keep
alive with worker threads" that explains how to build a c++ isapi
extension
that receives the HTTP request and keeps it alive. But the sample code is
no
where to be found anymore.

Please MS show me where I can find documentation on how to keep alive
connections using .NET HTTPhandlers or show me where I can find the
original
c++ isapi extension sample "keep alive with worker threads" so that I can
begin using c++ on building a really powerfull isapi extension.

Nov 19 '05 #2
Can someone provide the code example reffered to in the MSDN library 2003
atricle
"keep alive with worker threads" it explains how to create a c++ isapi
extension that keeps alive the request making use of worker threads but I
cant find the platform ( or IIS ) SDK where the source example should be.

"yachtIT" wrote:
HI MS,

I have read from official microsoft msdn that an HTTPhandler in .NET can do
anything a c++ isapi extension can do. Only a .NET HTTPhandler has a much
more easy programming model.

However I cannot find any documentation on how to receive an HTTP request (
HTTPcontext ) with an HTTPhandler and keep the connection alive.
The HTTPcontext is always closed.

Also in the MSDN library 2003 in the isapi section there is an atricle "keep
alive with worker threads" that explains how to build a c++ isapi extension
that receives the HTTP request and keeps it alive. But the sample code is no
where to be found anymore.

Please MS show me where I can find documentation on how to keep alive
connections using .NET HTTPhandlers or show me where I can find the original
c++ isapi extension sample "keep alive with worker threads" so that I can
begin using c++ on building a really powerfull isapi extension.

Nov 19 '05 #3

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

Similar topics

3
2235
by: Lionel Schiepers | last post by:
I rencently tested an web application with ISAPI extensions that internally use managed extensions but the call to the ISAPI failed. I receive the following message: "A dynamic link library (DLL)...
4
2896
by: Sean | last post by:
Hi all, Is it possible to use a custom HttpHandler to handler request that does not provide a specified page? e.g. http://www.aaa.com/there/is/no/such/document I tried to handle this request...
5
2845
by: Earl Teigrob | last post by:
My company sells software and wants to provide downloadable product. Some of these downloads will be full CD's of over 550M I had everything working fine using Response.filewrite() but when we...
7
2901
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
3
6291
by: Jeeran | last post by:
I need to perform url rewriting to convert this (for example): /blogs/feeds/popular/posts/ to this: /blogs/feeds.aspx?type=popular&type2=posts What I did was the following: 1. Created an...
1
1836
by: Lopamudra | last post by:
Hi, I have implemented a HTTPHandler named ThumbnailGenerator.ashx to generate thumbnails for images. I have referenced this within my aspx file in the ImageUrl property of the Img control. When I...
13
3402
by: mtuller | last post by:
I am attempting to install PHP 5.2.x on Windows 2003 with IIS 6.0. When I go to install 5.2.1, it gives me an error when it tries to start the server I get an error. So I try installing 5.2.0. This...
0
5964
by: Erwin Moller | last post by:
Hi, I am one of those questionable people that started with Vista (Home Premium). Not because I think it is a ready/steady OS, but partly out of curiousity, and partly because I needed to work...
6
235
by: David | last post by:
Hi, I'm very new to ASP.NET. I have over 10 years of C++ experience in MFC and Games programming etc, but web programming is something I have just started. Sorry for the rather silly...
0
7199
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
7274
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
7323
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...
1
6984
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...
0
4670
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3162
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3151
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
732
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
377
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.