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

Discussion in 'ASP .Net' started by =?Utf-8?B?RGlmZmlkZW50?=, Feb 3, 2006.

  1. 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.
     
    =?Utf-8?B?RGlmZmlkZW50?=, Feb 3, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    5
    Views:
    926
    Axel Straschil
    Apr 6, 2005
  2. Ilias Lazaridis
    Replies:
    6
    Views:
    470
    Ilias Lazaridis
    Jan 28, 2006
  3. Ilias Lazaridis
    Replies:
    13
    Views:
    264
    Ilias Lazaridis
    Apr 12, 2005
  4. Ilias Lazaridis
    Replies:
    0
    Views:
    117
    Ilias Lazaridis
    Jan 26, 2006
  5. Ilias Lazaridis
    Replies:
    8
    Views:
    146
    Ilias Lazaridis
    Jan 28, 2006
Loading...

Share This Page