How to auto-start WCF service without AppFabric

↘锁芯ラ 提交于 2019-12-21 23:31:47

问题


Does anyone know if it is possible to setup a WCF service running on IIS 7.5 so it would start automatically (and not waiting for the first request to come in), without the installation of AppFabric?


回答1:


You can achieve this by using the module IIS 8.0 Application Initialization, which is compatible with IIS 7.5:

IIS 8.0 Application Initialization

Here's the download link for IIS 7.5: Application Initialization Module for IIS 7.5

An alternative would be to write a small app which calls your service, you could then schedule that to run regularly or when your app pool is recycled.



来源:https://stackoverflow.com/questions/19449841/how-to-auto-start-wcf-service-without-appfabric

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!