Home > DeveloperSection > Interviews > What is Shadow Copy?

Posted on    November-16-2010 12:00 AM

 ASP.Net ASP.Net 
Ratings:
 1 Answer(s)
  1133  View(s)
Rate this:

Rajesh Goswami

Total Post:85

Points:425
Posted on    November-16-2010 1:00 AM

In order to replace a COM component on a live dedicated server, it was necessary to stop the entire website, copy the new files and then restart the website. This is not feasible for the web servers that need to be always running. .NET components are different. They can be overwritten at any time using a mechanism called Shadow Copy. It prevents the Portable Executable (PE) files like DLLs and EXEs from being locked. Whenever new versions of the PEs are released, they are automatically detected by the CLR and the changed components will be automatically loaded. They will be used to process all new requests not currently executing, while the older version still runs the currently executing requests. By bleeding out the older version, the update is completed.

Don't want to miss updates? Please click the below button!

Follow MindStick