且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何每5分钟更新一次服务

更新时间:2022-01-28 07:07:22


如果我理解正确,
您绝对不能在不重新发布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.