다음을 통해 공유


API Changes Required for Commerce Server 2002 Sites

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

To upgrade your site to Commerce Server 2007, you must make API changes in your existing Commerce Server 2002 ASP.NET site code.

Note

If you have a Commerce Server 2000 or Commerce Server 2002 site based on Active Server Pages (ASP), you must upgrade to the Microsoft .NET Framework 2.0 with update or 3.0 and learn about the Commerce Server Class Library. Information about how to move to ASP.NET and the Commerce Server Class Library is available to help you make this move. For more information about the required changes to ASP-based sites, see About Commerce Server 2002 ASP-based Site Migration to Commerce Server 2007.

All support for Component Object Model (COM) APIs has been removed from Commerce Server 2007. However, the Primary Interop Assemblies (PIA) for most namespaces is still included and COM components can be accessed through this layer.

At a high level, the following list describes the changes you need to make to an ASP.NET-based site:

  • Perform a global find and replace on all Commerce Server Class Library namespace names, because many have changed in Commerce Server 2007.

  • Remove any references to the Microsoft.CommerceServer.Interop.Catalogs namespace and its members.

  • Remove any references to the Microsoft.CommerceServer.Interop.Orders namespace and its members.

  • Review API changes that were made to the Microsoft.CommerceServer.Runtime.Catalogs namespace, which is now named Microsoft.CommerceServer.Catalog, and make modifications where they are required.

  • Create Catalog and Order System functionality on your site using the new Microsoft.CommerceServer.Catalog and Microsoft.CommerceServer.Orders namespaces.

For information about API changes that are required for ASP.NET-based sites, see About Migrating ASP.NET-based Commerce Server 2002 Applications to Commerce Server 2007.

See Also

Other Resources

Planning Commerce Server 2007 Migration