Interview Question
Qus: Update files while the server is running
Answers (2)
ASP.NET makes a "shadow copy" of the files, and loads them from the copy. When you update the files, it creates a new AppDomain to service any new requests, and signals the previous AppDomain to shut down as soon as it has finished servicing any current requests.