문제

I recently tried to follow this wonderful tutorial from Brian Noyes : "this tutorial"

I got stuck consuming the odata endpoint. I could not find out for the life of me the Port number for the odata endpoint service.

Please advise what I'm missing.

Thanks in advance for the help.

도움이 되었습니까?

해결책

I'm not that familiar with WCF-RIA, but the documentation states that by default DomainServices do not have a physical .SVC file generated for them at Design Time, but rather have a virtual .SVC, which represents the WCF Service associated with the domain. For a given DomainService the path to its .SVC can be determined using the following convention:

[SilverlightApplicationBaseURI] + [DomainServiceFullName].svc

At RunTime when the first request (within a particular Application Domain) is made for a DomainService's .SVC file , the registered httpModules intercept the call and RIA Services writes out an in memory .SVC file on the fly.

The following MSDN Blogs provide good information:
http://blogs.msdn.com/b/saurabh/archive/2009/11/23/understanding-the-wcf-in-wcf-ria-services.aspx
http://blogs.msdn.com/b/brada/archive/2009/11/22/ria-services-a-domainservice-is-a-wcf-service-add-service-reference.aspx

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top