如何每5分钟更新一次服务 [英] How to Update Service every 5 min

查看:101
本文介绍了如何每5分钟更新一次服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

我已经创建了一个Web服务,并且正在使用客户端应用程序来访问该服务.
当我更改Web服务中的任何方法时,我需要在客户端中更新服务.每次都有风险,因此我想每5分钟在Client Machine中更新一次服务.我对此一无所知.


所以请就此向我提出建议.



问候,

AnilKumar.D

Dear Friends,

I have created One Web service and using Client Application i am accessing this Service.
When i Changed any Method in Web service then I need to Update the Service in Client. Every Time it is risky so i want to Update the Service on every 5 min in Client Machine.I have no idea Regarding This.


So please suggest me Regarding this.



Regards,

AnilKumar.D

推荐答案


如果我理解正确,
您绝对不能在不重新发布exe的情况下更新客户端中的服务.
因为在客户端中更新服务时,会自动刷新对应的类和xml文件,使其与服务器上的文件匹配.这些类用于获取公开的操作合同的方法和属性.
Hi,
If I understood properly,
In no way you can update the service in the client without republishing your exe.
Because when the service is updated in the client, the corresponding class and xml files are auto refreshed matching to that on the server. These classes are used to get the methods and properties of the exposed operation contracts.


这篇关于如何每5分钟更新一次服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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