Configuration Settings for Providers and Listeners

Components of CCF such as Logging, CTI, and Signer, follow the Provider design pattern and/or the Listener design pattern. In previous versions of CCF, all of the configuration settings for providers and listeners, as well as Web service URLs, were stored and configured in configuration files. In CCF 2009, you can store these configuration settings in a centralized database and administer them through the CCF Admin Console.

The following code is an example of a configuration setting for the Signer provider:

<Csr.Signer.Providers.SignerProvider defaultProvider="ApplicationSigner">
  <providers>
    <add name="ApplicationSigner" type="Microsoft.Ccf.Samples.Csr.Signer.ApplicationSigner, Microsoft.Ccf.Samples.Csr.Signer" />
  </providers>
</Csr.Signer.Providers.SignerProvider>

If a configuration setting for a provider, listener, or URL does not exist in the configuration file, the system will look for the setting in the database. However, if a configuration setting does exist in the configuration file, that setting will override any configuration settings in the database.