views:

266

answers:

3

I know WCF can be self hosted. how about WCF RIA Services? Thanks!

+1  A: 

WCF RIA Services is build on top of WCF and they get exposed as WCF services. See WCF RIA Services on MSDN.

JKJKJK
A: 

According to this forum thread on MSDN, it is not possible to do such thing because RIA services set the ASP.NET compatibility to be required, therefore needing the IIS hosting.

Konamiman
+1  A: 

Actually it can be self-hosted after small configuration:


DomainServiceHost host = new DomainServiceHost(typeof(DomainService1), uri);
host.Description.Behaviors.Remove<AspNetCompatibilityRequirementsAttribute>();
Alexey F