【发布时间】:2011-02-18 14:00:17
【问题描述】:
我需要在客户端计算机上的 IIS 之外托管 WCF RIA 服务。阅读以下主题后:
http://forums.silverlight.net/forums/p/182302/413287.aspx
Can WCF RIA Services be self hosted?
http://forums.silverlight.net/forums/p/213861/512468.aspx
http://social.msdn.microsoft.com/Forums/en-CA/silverlightdeveloper/thread/804341f3-9f1e-420b-9cdc-c1334bd9302f
由于 RIA 服务使用的“AspNetCompatibilityRequirementsAttribute”,我放弃了这个想法,并开始研究替代解决方案。
然而,就在昨天,我阅读了更多关于 Visual Studio LightSwitch 以及在内部使用 WCF RIA 服务的事实。使用 LightSwitch,您可以将应用程序部署在桌面上的 2 层方案中,该方案使用 ClickOnce 安装并作为 Silverlight 浏览器外应用程序运行,无需连接到 IIS 即可访问数据。
有谁知道如何做到这一点?
提前谢谢你
【问题讨论】:
标签: silverlight wcf-ria-services visual-studio-lightswitch