Note that there are some explanatory texts on larger screens.

plurals
  1. POConfiguring WorkflowServiceHost web.config
    primarykey
    data
    text
    <p>I have created a WF4 WorkflowServiceHost application. I need to change some of the binding attributes, but there is no binding information in the web.config. WCF 3.5 apps I'm used to dealing with generate this automatically in the config, but I don't know where WF4 keeps its settings. The service runs fine and exposes a http endpoint. How do I customise the binding info? And how can I see what the default values being used are? I just need to tweak the readerQuotas.The auto-generated web.config looks like this:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; &lt;configuration&gt; &lt;connectionStrings&gt; &lt;add name="formContainer" connectionString="metadata=res://*/form.csdl|res://*/form.ssdl|res://*/form.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;Data Source=172.16.40.13;Initial Catalog=TestDB;Integrated Security=True;MultipleActiveResultSets=True&amp;quot;" providerName="System.Data.EntityClient" /&gt; &lt;/connectionStrings&gt; &lt;system.web&gt; &lt;compilation debug="true" targetFramework="4.0" /&gt; &lt;/system.web&gt; &lt;system.serviceModel&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior&gt; &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above 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="true"/&gt; &lt;sqlWorkflowInstanceStore connectionString="Data Source=localhost;Initial Catalog=WorkflowInstanceStore;Integrated Security=True;Async=true" instanceEncodingOption="None" instanceCompletionAction="DeleteAll" instanceLockedExceptionAction="NoRetry" hostLockRenewalPeriod="00:00:30" runnableInstancesDetectionPeriod="00:00:05"/&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt; &lt;/system.serviceModel&gt; &lt;system.webServer&gt; &lt;modules runAllManagedModulesForAllRequests="true"/&gt; &lt;/system.webServer&gt; &lt;/configuration&gt; </code></pre>
    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. 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