Share via


CommerceServer Configuration Section

Use this section to configure the Commerce Server .NET Application Framework.

Application Configuration

Example:

  • <application siteName="Retail2002" debugLevel="Debug"/>
    Set debugLevel to "Checked", "Debug", or "Production". Because the "Checked" and "Debug" settings cause the application to run slower than normal, you should only use these values when debugging the application.

Authentication Configuration

Example:

  • <authentication detectCookies="true"/>
    Set detectCookies to true if you want to enable a cookie to the URL-mode fallback authentication scheme.

Pipeline Configuration

Example:

<pipeline

name="product"

path="pipelines\product.pcf"

transacted="false"

type="OrderPipeline"

loggingEnabled="false" />

  • Configuration parameters:
    name
    The string you want to use when referencing the pipeline in your application.
  • path
    The relative path of the pipeline configuration file (.pcf) that corresponds to the pipeline you want to run when referencing the pipeline in your application.
  • transacted
    Set transacted to false to disable COM+ transactions when running your pipeline.
  • type
    The type should be set to either "OrderPipeline" or "CSFPipeline" depending if you intend to use the pipeline for processing orders or displaying ads.
  • loggingEnabled
    Set to true to enable pipeline logging. The log file will be created in the "pipelines\log" directory of your application. Logging causes the application to run slower than normal,therefore, it should only be enabled during debugging.

Cache Configuration

Use this section to configure Commerce Server 2002 caches.

Example:

<cache name="Advertising" type="Advertising" refreshInterval="300" retryInterval="60"/>

<cache name="QueryCatalogInfoCache" type="QCI" loaderProgId="Commerce.LRUCacheFlush" refreshInterval="0" retryInterval="300" maxSize="10000">

<config key="TableName" value="CatalogCache_Virtual_Directory"/>

</cache>

Parameters vary with the type of cache; see Cache Objects for more information about configuring a cache.

  • Configuration parameters:
    Name
    The string used when referencing the cache. Certain caches must have specific names when using the default Advertising, Discounting, and QueryCatalogInfo pipeline components. These names are Advertising, Discount, and QueryCatalogInfoCache, respectively.
  • RefreshInterval
    How long the cache remains in memory before being refreshed, in seconds.
  • RetryInterval
    How long the CacheManager object waits to retry a call to the cache loader after a failure, in seconds.
  • MaxSize
    The maximum number of entries to store in the cache.

Message Manager Configuration

Use this section to configure string resources that are extracted into the MessageManager object.

The cultures element lists the cultures supported by the site. You add a new culture ID tag to add a new culture to the site. Cultures are specified by their RFC 1766 identifier. Set the default attribute to the identifier of the default culture used by the application. The baseName attribute specifies the root name of the resources used in your application. For example, when using a satellite assembly named "MyResources.en-US.resources", the root name is "MyResources." The assembly attribute is used to specify the name of the assembly containing the default resources; either the executing application or the name of a satellite assembly.

Content Selection Configuration

Use this section to configure the Content Selection Framework and pipelines for ads and discounts.

Catalog Configuration

Use this section to specify the default catalog sets.

Orders Configuration

Use this section to configure an addressMap used for displaying user addresses.

commerceEvent Configuration

Use this section to configure event logging. You add an add tag in this section for each event that you want to log.

Copyright © 2005 Microsoft Corporation.
All rights reserved.