1

I have a need to host WCF RIA Services outside IIS on a client machine. After reading the following threads:

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

I gave up on that idea due to the "AspNetCompatibilityRequirementsAttribute" that RIA Service uses and started researching alternative solutions.

However, just yesterday I read more about Visual Studio LightSwitch and the fact that uses WCF RIA Services internally. With LightSwitch, you can deploy your appliction in a 2-tier scenario on the desktop that gets installed using ClickOnce and runs as a Silverlight out-of-browser application that can access data without connectiong to IIS.

Does anyone know how this can be accomplished?

Thank you in advance

4

1 回答 1

0

Lightswitch 在 2 层场景中使用 Visual Studio 的 Cassini 服务器。我不太了解它是如何托管的。总之,它仍然是一个与 ASP.NET 兼容的环境,但这次依赖于 Visual Studio。

于 2011-02-18T22:24:51.390 回答