Note that there are some explanatory texts on larger screens.

plurals
  1. POWCF slow on every request
    primarykey
    data
    text
    <p>I have a WCF service, which connects with SQL server and fetch some data, construct objects and then returns it. I use simple binding, .NET 4.0, I have not added any special setting just default settings from template when you create WCF service.</p> <p>The service runs fine on my local with local db but now when I deployed on server, I checked the time, the processing takes 7 microseconds (first one takes little more) but before reaching the START to process, WCF is taking <b>3 seconds </b>on every request before hitting first line of code and I can't find why. </p> <pre><code>&lt;endpoint address="http://localhost/Service.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService" contract="Local.IService" name="BasicHttpBinding_IService" /&gt; </code></pre> <p>Thanks!</p> <p>Service behavior:</p> <pre><code> &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior&gt; &lt;!-- To avoid disclosing metadata information, set the value below to false before deployment --&gt; &lt;serviceMetadata httpGetEnabled="true"/&gt; &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --&gt; &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt; </code></pre> <p>Bindings:</p> <pre><code> &lt;bindings&gt; &lt;basicHttpBinding&gt; &lt;binding name="BasicBinding" maxReceivedMessageSize="10485760" /&gt; &lt;/basicHttpBinding&gt; &lt;/bindings&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    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.
 

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