Skip to content

Instantly share code, notes, and snippets.

@yetanotherchris
Created May 6, 2015 11:19
Show Gist options
  • Save yetanotherchris/27f02f697b997be78623 to your computer and use it in GitHub Desktop.
Save yetanotherchris/27f02f697b997be78623 to your computer and use it in GitHub Desktop.
large wcf config file
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="MyNameSpace.ServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
<behavior name="">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<basicHttpBinding>
<binding name="applicationServiceSettings" maxReceivedMessageSize="5242880" />
</basicHttpBinding>
</bindings>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0" />
<services>
<service behaviorConfiguration="MyNameSpace.ServiceBehavior" name="MyNameSpace.PizzaService">
<endpoint address="" binding="basicHttpBinding" contract="MyNameSpace.IPizzaService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
</system.serviceModel>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment