开发者

WCF web application: global.aspx

开发者 https://www.devze.com 2023-04-04 09:14 出处:网络
We have self hosted a group of WCF services in a WCf web application. If we put code calls in the global.Application_Start() and the server or IIS is restarted, will the first service need to be hit

We have self hosted a group of WCF services in a WCf web application.

If we put code calls in the global.Application_Start() and the server or IIS is restarted, will the first service need to be hit for the 'Start' to开发者_如何学Python start? Or will it start when IIS restarts?


Application_Start will be called only at the first access to that web application(either a service call or a visited web page); a Windows Server restart or an IIS restart or App Pool recycle will not call it for you.

0

精彩评论

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