WCF/RIA:自动更新 WCF/RIA 服务本身
我需要能够更新 IIS 上安装的 wcf/RIA 服务。这有可能吗?
我需要自动执行此操作,就像程序的自动更新一样。
我想我可以调用 WCF 服务上的一个方法,它会检查是否有更新,但我会下载并安装更新吗?
因为我所有的逻辑都安装在服务中,所以我需要自动更新服务。
I need to be able to update a wcf/RIA service that's installed on IIS. Is this at all possible?
I need to do it automatically, pretty much like the auto update of a program works.
I suppose I could call a method on the WCF service and it checks to see if there is an update but would I download and install the update?
It's because all my logic is installed in the service so I need to automatically update the service.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Martin,我认为您正在寻找的东西在 WCF RIA 服务中是不可能的。
通过代码生成过程的 WCF RIA 服务在 Silverlight 应用程序中具有服务器端和客户端的组件和实体。更改服务器上的服务合同会导致客户端不匹配。
为此,我认为您应该超越 WCF RIA,服务的版本控制是 SOA 中的一个大主题,我找到了一个可以帮助您入门的链接 此处。
Martin, I think what you are looking for is not possible in WCF RIA services.
A WCF RIA service through the code generation process has components and entities serverside and clientside in your Silverlight application. Altering the service contract on the server would cause a mismatch on the client side.
For this I think you should look beyond WCF RIA at WCF, versioning of services is a big topic in SOA, I found a link that may help get you started here.