Do I need to restart IIS when redeploying the WCF service?

Assuming the service is up and running, and you haven't changed the contract or anything else - just some basic logic. After publishing the service in IIS, do you need to restart IIS?

(If that matters, the InstanceContextMode instance is single)

Are there any instances where you won't need to?

+4
source share
1 answer

No. You do not need to restart IIS. What will happen is that ASP.NET will notice that the files have been changed and AppDomain will restart. If you have other websites hosted on IIS, they will not be affected at all.

It is still recommended that you use a separate application pool for each website.

+6
source

All Articles