如何每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.