WCF Contrib Configuration Section

A new configuration section was created since v2.1 - WcfContribConfigurationSection.

Full-Blown Configuration

<configuration>
  <configSections>
    <section name="wcfContrib" type="WcfContrib.Configuration.WcfContribConfigurationSection, WcfContrib" />
  </configSections>

  <wcfContrib>
    <client applyBoosting="true" />

    <services applyBoosting="true" />

    <extensions>
      <logTrace logFolderPath="C:\MyLogsFolder\" />
      <outputCache providerFactoryTypeName="MyOutputCacheProviderFactoryTypeName" />
    </extensions>
  </wcfContrib>
</configuration>

Configuration Settings

Client

Apply Boosting
You can configure the default value of the "ApplyBoosting" of all Client Channels (defaults to 'false').
Boosting is a common need for internal communications, it sets all the following to the maximum value:
  • MaxItemsInObjectGraph
  • Buffer sizes, MaxReceivedMessageSize and Reader Quotas. Please note this is set upon known standard bindings. If you're using a different binding or a custom one you need to apply it yourself.

Services

Apply Boosting
You can configure the default value of the "ApplyBoosting" of all the hosts using the Service Host that comes with WcfContrib (defaults to 'false').
  • Increases throttling to a large number ONLY if it has the default throttling, meaning if the developer hasn't set it to something else.
  • MaxItemsInObjectGraph
  • Buffer sizes, MaxReceivedMessageSize and Reader Quotas. Please note this is set upon known standard bindings. If you're using a different binding or a custom one you need to apply it yourself.

Extensions

Log Trace
You can configure settings related to logging and tracing extensions.
  • logFolderPath - Change the folder path used for the tracing and logging files. (The default is writing it to the same location as the Entry assembly)

Output Cache
You can configure settings related to the output caching extension.
  • providerFactoryTypeName - You can set the type name for your custom output cache provider factory, more about it here.

Last edited Feb 6, 2010 at 7:51 AM by zuker, version 2

Comments

No comments yet.