Answer the question
In order to leave comments, you need to log in
How to reload a dll in IIS without restarting IIS?
Hello.
I wrote a component for IIS (which dll is placed in the bin\ directory of the web application):
I registered the settings for the connection in web.config and the component loads normally. But if I modify the dll, then it is not automatically loaded and only restarting IIS iisreset helps , apparently it is somewhere in the cache. Not very strong in the IIS architecture, but is there a way to reload the dll without restarting the entire IIS, because Does the web application take a long time to restart?
Answer the question
In order to leave comments, you need to log in
Restart the application pool.
But in general, IIS itself reloads the changed assemblies.
Here it is written how compilation works in IIS
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question