Will a change to the Web.Config file require that I restart IIS

iis-6wcf

I've got a WCF component that I wrote in VS 2008 (using .NET framework 3.5) installed on a Windows 2003 Server. I've been having some problems using one of the methods, and in an effort to try and debug the problem I've been advised to add some diagnostics to the Web.Config file. Now, this WCF server doesn't get used much at all at this point, so can I just make the edits in the Web.Confilg file, and then run a test with my new client app? Or do I have to stop and restart IIS on the Windows 2003 Server?

Best Answer

Changes to the web.config will trigger the app to be reloaded by IIS as soon as there are 0 connections left to the app. You can also stop and restart the app pool that the app is assigned to in order to make this happen. You do not need to stop and restart IIS itself.

Related Topic