How to Execute a Transacted Pipeline

To call a transacted pipeline, you add the name of the transacted pipe to the pipelines node for your site in the site Web.config file.

In the pipeline statement, you must add the following attributes:

  • name. The name that you will reference in your application.

  • path. The relative path of the pipeline configuration file (.pcf).

  • transacted. Set this attribute to true to indicate that the pipeline is transacted.

  • type. You can use either OrderPipeline or CSFPipeline for this attribute. You use an OrderPipeline to process orders and a CSFPipeline to display advertisements.

  • loggingEnabled. Set to true to enable logging. When you enable logging, the log file is created in the pipelines\log directory.

The following code example shows how to add a new pipeline to the pipelines section of the Web.config file:

<pipelines siteName="CSharpSite">
  <pipeline name="basket" path="pipelines\basket.pcf" transacted="true" type="OrderPipeline" loggingEnabled="false"/>
</pipelines>

See Also

Other Resources

What Are Transactions for the Order Processing Pipeline?