Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>with code above service only allows soap requests so to allow Get http requests we have to modify code as given below:</p> <h2>In interface:</h2> <pre><code> [WebGet(UriTemplate="helloworld")] [OperationContract] string HelloWorld(); </code></pre> <h2>in web config:</h2> <ul> <li><p>add behaviorConfiguration:</p> <pre><code>&lt;endpoint address="" binding="webHttpBinding" contract="radMLRPC.Test.ITestService" behaviorConfiguration="webBehav"&gt; </code></pre></li> <li><p>then in behaviors add following tag:</p> <p>&lt; endpointBehaviors > &lt; behavior name="webBehav" > <strong>&lt; webHttp /></strong> &lt; /behavior > &lt; /endpointBehaviors ></p></li> </ul> <p>"please remove extra spaces from above. it was not showing the tags without extra spaces"</p> <hr> <p>Check out some resources for that:</p> <p>An Introduction To RESTful Services With WCF http: //msdn.microsoft.com/en-us/magazine/dd315413.aspx</p> <p>Endpoint.TV screencasts:</p> <ul> <li>Building RESTful services with WCF (Part 1) <a href="http://channel9.msdn.com/shows/Endpoint/endpointtv-Screencast-Building-RESTful-Services-with-WCF/" rel="nofollow noreferrer">http://channel9.msdn.com/shows/Endpoint/endpointtv-Screencast-Building-RESTful-Services-with-WCF/</a></li> <li>Building RESTful services with WCF (Part 2) http: //channel9.msdn.com/shows/Endpoint/endpointtv-Screencast-Building-RESTful-Services-with-WCF-Part-2/</li> <li>Calling RESTful services in WCF http: //channel9.msdn.com/shows/Endpoint/endpointtv-Screencast-Calling-RESTful-Services-in-WCF/</li> </ul> <p>Endpoint.TV in general has really good coverage for WCF and WCF REST stuff. http: //channel9.msdn.com/shows/Endpoint/</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload