I know WCF can be self hosted. how about WCF RIA Services? Thanks!
Actually, it can be self-hosted after small configuration:
DomainServiceHost host = new DomainServiceHost(typeof(DomainService1), uri); host.Description.Behaviors.Remove();