Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Wow! Its alive! Its working!!</p> <p>Still doesn't work in debug (<a href="http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/d69b7c6f-5648-417a-a379-23b0f012c4aa/" rel="noreferrer">security exception</a>), but I'll live with that until the next release.</p> <p>Here's the configuration that worked:</p> <pre><code> &lt;system.serviceModel&gt; &lt;bindings&gt; &lt;basicHttpBinding&gt; &lt;binding name="SecureBasicHttpBinding"&gt; &lt;security mode="Transport"&gt; &lt;transport clientCredentialType="None" /&gt; &lt;/security&gt; &lt;/binding&gt; &lt;/basicHttpBinding&gt; &lt;/bindings&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="Silverheat.Cloud_WebRole.API.DataServiceBehavior"&gt; &lt;serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /&gt; &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="true" /&gt; &lt;services&gt; &lt;service behaviorConfiguration="Silverheat.Cloud_WebRole.API.DataServiceBehavior" name="Silverheat.Cloud_WebRole.API.DataService"&gt; &lt;endpoint bindingConfiguration="SecureBasicHttpBinding" address="" binding="basicHttpBinding" contract="Silverheat.Cloud_WebRole.API.DataService" /&gt; &lt;endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" /&gt; &lt;/service&gt; &lt;/services&gt; &lt;/system.serviceModel&gt; </code></pre> <p>(I think it was "mexHttpsBinding" that made it finally work, although I don't entirely understand why it needs meta data after its already configured, back to the books I guess)</p> <p>I'd still like to know how to enable some kind of logging for WCF, but I'll poke around this great site a bit more and I'm sure I'll find an answer.</p>
 

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