473,978 Members | 2,537 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Anybody know how ASP.Net handles incoming requests from the ISAPI extension?

Hi all,

I'm trying to put together some notes on how ASP.Net works for myself and a
presentation I'm doing. One thing I can't seem to figure out is what happens
at the entry point of an ASP.Net request. What is the transition from the
unmanaged ISAPI code (in IIS 6) that runs in the default AppDomain that
makes call into the HttpRuntime object?

Something must be picking up the ISAPI ECP and parsing this information into
the various objects that make up the HttpContext. Request object members,
Server vars etc. Is there a specific object (documented or otherwise) that
does this?

Obviously this is internal, but it'd be interesting to follow this code
through.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web
Nov 18 '05 #1
2 992
Read about HttpHandlers and HttpModules..
this one talks about http modules..
http://msdn.microsoft.com/msdnmag/is...asp?frame=true

Av.

"Rick Strahl [MVP]" <ri********@hot mail.com> wrote in message
news:uY******** ******@TK2MSFTN GP12.phx.gbl...
Hi all,

I'm trying to put together some notes on how ASP.Net works for myself and
a
presentation I'm doing. One thing I can't seem to figure out is what
happens
at the entry point of an ASP.Net request. What is the transition from the
unmanaged ISAPI code (in IIS 6) that runs in the default AppDomain that
makes call into the HttpRuntime object?

Something must be picking up the ISAPI ECP and parsing this information
into
the various objects that make up the HttpContext. Request object members,
Server vars etc. Is there a specific object (documented or otherwise) that
does this?

Obviously this is internal, but it'd be interesting to follow this code
through.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web

Nov 18 '05 #2
Hi,

I think this answers it quite a bit:
http://msdn.microsoft.com/asp.net/de...ttpruntime.asp

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

"Rick Strahl [MVP]" <ri********@hot mail.com> wrote in message
news:uY******** ******@TK2MSFTN GP12.phx.gbl...
Hi all,

I'm trying to put together some notes on how ASP.Net works for myself and a presentation I'm doing. One thing I can't seem to figure out is what happens at the entry point of an ASP.Net request. What is the transition from the
unmanaged ISAPI code (in IIS 6) that runs in the default AppDomain that
makes call into the HttpRuntime object?

Something must be picking up the ISAPI ECP and parsing this information into the various objects that make up the HttpContext. Request object members,
Server vars etc. Is there a specific object (documented or otherwise) that
does this?

Obviously this is internal, but it'd be interesting to follow this code
through.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web

Nov 18 '05 #3

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

Similar topics

1
992
by: Rick Strahl [MVP] | last post by:
Hi all, I'm trying to put together some notes on how ASP.Net works for myself and a presentation I'm doing. One thing I can't seem to figure out is what happens at the entry point of an ASP.Net request. What is the transition from the unmanaged ISAPI code (in IIS 6) that runs in the default AppDomain that makes call into the HttpRuntime object? Something must be picking up the ISAPI ECP and parsing this information into the various...
2
3896
by: Abhijit | last post by:
Hi I want to use WebDAV for file editing, transfer, etc. At the same time, I need to store certain information about the file and the user in a database each time a file is modified/created. I came across a thread which suggested using IHttpModule. Can I create a HttpModule interface for a WebDAV virtual directory. It seems like I need to put the WebDAV directory in a web application or Website, which has an IHttpModule interface to...
2
3377
by: yachtIT | last post by:
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.
1
1533
by: David Thielen | last post by:
Hi; When I display reports, if it's a text file I need to have a .txt extension. This got me thinking, what would seem most natural to users is if the url ended up being something like: http://www.domain.com/asp_name/create-report/ReportTitle.pdf So anything under http://www.domain.com/asp_name/create-report/* goes to my IHttpHandler class ReportCreate. I use the report title as the file name and use the extension that matches the...
0
10172
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11823
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10917
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
10085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8464
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6418
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6561
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
5161
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.