开发者

Need to restart IIS 7 after fuill web deployment

开发者 https://www.devze.com 2023-01-21 18:48 出处:网络
I would just like to find out which is the best practice when deploying to IIS 7 with ASP.Net 2 applications.

I would just like to find out which is the best practice when deploying to IIS 7 with ASP.Net 2 applications.

We deploy around 7 WCF net.tcp consumed web services on IIS开发者_Go百科 7 and then also have a website running under IIS 7.

When we deploy with TFS we copy over the released code to the specified folders under IIS. Would the best practice be to then also reset IIS or because IIS recompiles the JIT everytime the assemblies change, you don't actually need to restart the server or any pools.

Thanks for the info


You should not need to reset IIS. You are right in guessing that this is unnecessary because it will recompile automatically as necessary, and the app pool will reset if the web.config or anything in \bin is changed..

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号