如何在不使用Windows服务方法的情况下定期连续运行Web服务 [英] how to run a web service continuously at a regular interval of time without using windows service method

查看:64
本文介绍了如何在不使用Windows服务方法的情况下定期连续运行Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不使用Windows服务技术的情况下定期连续运行Web服务。

how to run a web service continuously at a regular interval of time without using windows service technique.

推荐答案

您可以在C#中编写一个调用该服务的应用程序在给定的时间间隔内做任何你想对数据做的事情。

创建应用程序后运行它。只要应用程序未关闭,它就会在指定的时间间隔内继续调用服务。
You can write an application in C# which calls the service at a given interval and do whatever you want to do with the data.
Run the application once it is created. It will keep calling the service in the specified interval as long as the application is not closed.


这篇关于如何在不使用Windows服务方法的情况下定期连续运行Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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