Hi,
I have a webservice and I noted that some dlls in the wwwroot folder are kept logged after the webservice is executed.
After restart of pc, the problem is solved.
Can i have something in my code that releases the dlls?
Hi,
I have a webservice and I noted that some dlls in the wwwroot folder are kept logged after the webservice is executed.
After restart of pc, the problem is solved.
Can i have something in my code that releases the dlls?
Try to either recycle the AppPool which your webservices runs under, or use iisreset.
iisreset /stop
will stop IIS and release the dll's. iisreset /start
will start IIS back up again.
If you recycle the Application Pool, then the lock of dll's will be released until someone hits your webservice again, and aquires a new lock.