MinMaxShip Pipeline Component Sample

Location in SDK: SDK\Samples\Order Processing\MinMaxShip

The files in this sample are divided into four subfolders: ATL, BizDesk, CSharp, and VB. The ATL and VB folders contain files that constitute parallel implementations of the same pipeline component, known as the MinMaxShip pipeline component. The ATL folder contains the source code for a C++ Active Template Library (ATL) implementation, and the VB folder contains the source code for a Microsoft Visual Basic implementation. The CSharp folder contains the source for a C# implementation of the component.

The MinMaxShip pipeline component demonstrates how a new pipeline component can be added to the Order Processing pipeline, as well as demonstrating the new shipping architecture in Commerce Server.

The BizDesk folder provides a custom Commerce Server Business Desk module that allows the MinMaxShip sample to be quickly added to an existing Commerce Server Web site for use in the shipping stage of an Order Processing pipeline.

To run either implementation of the MinMaxShip sample, you must first either install one of the Solution Sites that can be downloaded from https://go.microsoft.com/fwlink/?LinkId=6767, or install the Order Sitelet and Commerce Server Business Desk. For instructions on installing the Order Sitelet, see Installing the ASP-Based Order Sitelet. For instructions on installing Business Desk, see Adding a Business Desk Application to a Site. After you have installed a site or a sitelet and Business Desk, go to the directory containing the Business Desk files, and do the following:

  • Copy the file MinMax_edit.asp from the MinMaxShip\BizDesk folder to the relevant Shipping folder. For example, C:\InetPub\wwwroot\RetailBizDesk\Shipping.
  • Copy the file shipping_methods.xml from the MinMaxShip\BizDesk folder to the Config folder. For example, C:\InetPub\wwwroot\RetailBizDesk\Config.

After the Shipping module in Business Desk is updated, you can use it to configure new shipment methods of type "MinMaxShip".

For more information about the MinMaxShip sample, see MinMaxShip Sample Pipeline Component.

Copyright © 2005 Microsoft Corporation.
All rights reserved.