开发者

WCF web application: global.aspx

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜