0
我是WCF和WCF派生服務的新手。WCF服務(與RIA)
我使用VS 2010,Silverlight 4中,RIA服務4
最近,我創建了純WCF REST服務(不RIA,沒有SOAP)與我的終點(使用wsHttpBinging):
<endpoint address="" behaviorConfiguration="wsBehavior" binding="wsHttpBinding" bindingConfiguration="wsbinding" contract="WcfService1.IService1"/>
<behaviors>
<endpointBehaviors>
<behavior name="wsBehavior">
<webHttp/>
</behavior>.........
我使用Silverlight 4客戶端的這項服務,一切正常。
然後,我使用使用RIA服務的「silverlight Business application」模板創建了新項目。現在web.config使用DomainServices,當我添加wsHttpBind端點時,我無法工作。我知道我沒有做到這一點,我無法找到任何幫助到目前爲止。
我想要做的是用RIA(無SOAP)創建一個RESTful WCF應用程序,並且我可以使用Silverlight 4客戶端。出於某種原因,我無法得到服務的工作。
這就是我讀過的,但它在WCf/.net 4中工作/現在我想獲得正確的web.config與RIA – netlogging 2010-05-04 14:13:31
一起工作首先這應該是Comment.And BTW wsHttpBinding用於創建Json響應並創建EndPoint另外!!!! – 2013-04-15 09:05:13