Share via


Configuring Your Application to Use the Orders System

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

You can create a new Commerce Server application or enable an existing application to use Commerce Server by using the Commerce Web Application Project Wizard in Visual Studio. The Commerce Web Application Project Wizard performs all the tasks that are required to let you access Commerce Server functionality from your application.

The Commerce Web Application Project Wizard performs the following configuration steps that affect the Orders System:

  • Creates or modifies the Web.config files for the Web site and the Web services in order to identify and configure Commerce Server resources.

  • Creates the database tables to store Basket objects and PurchaseOrder objects.

  • Creates the OrderObjectMappings.xml file to define how objects in the Orders System runtime map to tables and columns in the database.

  • Creates the OrderPipelineMappings.xml file to define how objects in the Orders System runtime map to entries in the dictionaries that pipelines use.

After you run the Commerce Web Application Project Wizard, you can access Orders System functionality from for your Web application. You can perform the following tasks:

  • Create instances of Orders System classes.

  • Pass a Basket object to a pipeline for processing.

  • Store Orders System objects in the database and retrieve Orders System objects from the database.

You can customize the Orders System for your application by extending the Orders System runtime classes or by modifying the configuration files that the wizard creates. For more information about how to extend the Orders System, see Extending the Orders System.

For more information about how to use the Commerce Web Application Project Wizard in Visual Studio, see Developing Commerce Server Applications with Visual Studio.

See Also

Other Resources

Developing Commerce Server Applications with Visual Studio

Extending the Orders System

Orders System Design-Time Scenarios