Question on VS IDE's "build" and "Shadow Copies and Restart"

G

Guest

Hello All,

I am trying to do a "build" of all files of my web app on my local machine.
I know that there is an "aspnet_wp.exe" running forever on my machine and to
my knowledge each web app is hosted in its own AppDomain. Now when I do a
build on my local machine is this AppDomain unloaded? If yes, why does it
have to be unloaded? Cannot it drain stop the current AppDomain and spawn a
new AppDomain with the new assembly. Please refer to Scott's article about
"Drain Stopped AppDomain" and specifically the section "Shadow Copies and
Restart"

So in my case does "Build" cause the AppDomain to reload? Why would it
reload the AppDomain if IIS shadow copied my old assembly?

Can anyone please let me know what is going on when we use Build of VS.NET
IDE.....Step by step process and ofcourse low level details would be
appreciated as I want to know as a developer what is going on behind the
scenes.

Thanks for your clarification.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top