Note that there are some explanatory texts on larger screens.

plurals
  1. POConfusing terminologies pertaining to Application Pool, Worker Process and Application Domain
    primarykey
    data
    text
    <h2>Edit 1</h2> <p>I am confused with the statement below, taken from <a href="http://odetocode.com/articles/305.aspx" rel="nofollow noreferrer">What ASP.NET Programmers Should Know About Application Domains </a>:</p> <blockquote> <p>You’ve created two ASP.NET applications on the same server, and have not done any special configuration. What is happening?</p> <p>A single ASP.NET worker process will host both of the ASP.NET applications. On Windows XP and Windows 2000 this process is named aspnet_wp.exe, and the process runs under the security context of the local ASPNET account. On Windows 2003 the worker process has the name w3wp.exe and runs under the NETWORK SERVICE account by default.</p> </blockquote> <p>He said that there is one worker process spawns 2 application domains--one application domain for each asp.net application.</p> <p>But when I see the running processes as follows, </p> <p><strong>Image 1</strong></p> <p><img src="https://i.stack.imgur.com/qnBL7.png" alt="enter image description here"></p> <p><strong>Image 2</strong></p> <p><img src="https://i.stack.imgur.com/TiMJ0.png" alt="enter image description here"></p> <p><code>w3wp.exe</code> is said as IIS Worker Process rather than application pool or application domain.</p> <h2>Questions:</h2> <ol> <li>Is application domain equal to application pool?</li> <li>The confusing thing is in image 1. Why does <code>Host Process Windows Service svchost.exe</code> spawns 2 <code>IIS Worker Process w3wp.exe</code>? In my understanding, a process can only contain application domains, not other processes.</li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload