Z
Z
Zakharov Alexander2016-03-02 14:26:35
IIS
Zakharov Alexander, 2016-03-02 14:26:35

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):
0203ba42338a49a7baad3670e53b61f9.png
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

1 answer(s)
L
Larry Underwood, 2016-03-02
@AlexZaharow

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 question

Ask a Question

731 491 924 answers to any question