DCSIMG
WCF Contrib v2.1 Configuration Section - Zuker On Foundations

Zuker On Foundations

The realm of .NET (WPF, WCF and all around)
WCF Contrib v2.1 Configuration Section

Via http://wcfcontrib.codeplex.com/wikipage?title=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>

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

Published Saturday, February 06, 2010 6:57 PM by Amir Zuker

תגים:, ,

Comments

# WCF Contrib v2.1 – Customize Output Caching Provider@ Monday, February 08, 2010 9:15 PM

Via wcfcontrib.codeplex.com/wikipage Output Cache Provider Factory

Zuker On Foundations

# WCF Contrib v2.1 – Customize Output Caching Provider@ Monday, February 08, 2010 9:15 PM

Via wcfcontrib.codeplex.com/wikipage Output Cache Provider Factory

Zuker On Foundations

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: