Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1077975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:39:18+00:00 2026-05-16T21:39:18+00:00

This MSDN article states that: To guarantee optimal performance, aspnet_isapi uses asynchronous named pipes

  • 0

This MSDN article states that:

To guarantee optimal performance,
aspnet_isapi uses asynchronous named
pipes to forward requests to the
worker process and to get responses.
On the other hand, the worker process
exploits synchronous pipes when it
needs to query for information about
the IIS environment (that is, server
variables).

  1. Does the worker process always uses “synchronous” named pipes? (Response to aspnet_isapi.dll would be asynchronous too, right?)
  2. Can the worker process talk directly to IIS or does it have to send a synchronous request to aspnet_isapi.dll to inquire about IIS environment etc.?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T21:39:18+00:00Added an answer on May 16, 2026 at 9:39 pm

    Later in the same article, things get a little clearer, :p :

    The logic behind the processing of each ASP.NET request can be summarized in the following steps.

    1. When the request arrives, IIS examines the resource type and calls into the ASP.NET ISAPI extension. If the default process model is enabled, aspnet_isapi queues the request and assigns it to the worker process. Any request data is sent through asynchronous I/O. If the IIS 6 process model is enabled, the request is automatically queued to the worker process (w3wp.exe) handling the IIS application pool to which the application belongs. The IIS 6 worker process doesn’t know anything about ASP.NET and managed code. It is limited to processing the *.aspx extension and loading the aspnet_isapi module. When the ASP.NET ISAPI works under the IIS 6 process model, it behaves differently and just loads the CLR in the context of the w3wp.exe worker process.
    2. After receiving the request, the ASP.NET worker process notifies the ASP.NET ISAPI that it is going to serve it. The notification takes place through synchronous I/O. The synchronous model is used because for consistency the worker process can’t start processing a request that is not yet marked as “executing” in the ISAPI’s internal requests table. A request that is being serviced by a particular worker process cannot be reassigned to a different process unless the original one dies.
    3. The request executes in the context of the worker process. There might be circumstances in which the worker process needs to call the ISAPI back in order to complete the request that is, to enumerate server variables). In this case, the worker process uses synchronous pipes because this would preserve the sequence of the request-processing logic.
    4. When finished, the response is sent to aspnet_isapi opening an asynchronous pipe. The state of the request now changes to “Done”; later on the request will be removed from the table. If the worker process crashes, all the requests it was handling remain in the “executing” state for a while. When aspnet_isapidetects that the worker process is dead, it automatically aborts the request and frees any associated IIS resources.

    So, I think the answer to my first question would be No and to the second point 3 above implies that the worker process doesn’t directly accesses IIS but goes through aspnet_isapi.dll.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This article on MSDN states that you can use as many try catch blocks
I this MSDN Magazine article , the author states (emphasis mine): Note that boxing
This MSDN article states that any ProgID must meet several formal requirements, length restriction
This MSDN article states that static classes should be declared as sealed and abstract.
This MSDN article states that getcwd() has been deprecated and that the ISO C++
This MSDN article states that: An isolation level has connection-wide scope, and once set
This MSDN article stated that: processors are free to reorder this code internal static
As per this MSDN article: W3C Extended Log File Format (IIS 6.0) It says
I've followed the instructions in this MSDN article: http://msdn.microsoft.com/en-us/library/dd206945.aspx Is it possible to call
Is the advice given in this oft-cited MSDN article still considered sound for converting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.