如何在没有人工干预的情况下保持Web服务的启动和运行 [英] How to keep web service start and running without manual intervention

查看:102
本文介绍了如何在没有人工干预的情况下保持Web服务的启动和运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


每当IIS启动时,我都想启动我的ASP.Net Web服务,并希望使其保持运行状态.我不想手动启动我的Web服务.我该如何实现?
请不要使用Windows服务.
有什么想法.

谢谢
Sreenath

Hi,
I want to start my ASP.Net Web service whenever IIS starts and want to keep it running. I don’t want to manually start my Web service. How can I achieve this?
Not about Windows service please.
Any ideas please.

Thanks
Sreenath

推荐答案

老实说,您永远不需要启动IIS.

有一个您称为服务器的系统,在该计算机上安装IIS,并在此IIS实例中托管您的Web服务.您将不需要重新启动IIS或Web服务.有时可能需要重新启动服务器以进行Windows更新等,但是IIS和Web服务应该自动重新启动.
Honestly, you should never need to start IIS.

Have a system that you call the server, install IIS on that machine and host your webservice in this instance of IIS. You will never need to restart IIS or the Web service. There may be times when you need to restart the server for Windows updates etc, but IIS and the web service should be restarting automatically.


这篇关于如何在没有人工干预的情况下保持Web服务的启动和运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆