This project show some sample code and it is not reccomended to reuse for any production environment....

The following scenario could be also useful to instrument your test project to make Unit / Integration / Load testing.

Part of the code of the project is taken from the Commerce Server Samples, partially modified for the specific scenario, you can get it at http://code.msdn.microsoft.com/CS2K9Samples

the most important configuration setting belong in the channel configuration <ServiceConfiguration useSharedCommerceContexts="false">


to reproduce the environment that you need ensure that:

1) You have Commerce Server 2009 up and running properly

2) if you don't have an instance of the Contemporary site, Unpup C:\Program Files\Microsoft Commerce Server 2007\Microsoft Commerce Server 2009\Site\MicrosoftCommerceDefaultSiteWithSampleData.pup to a site named ContemporarySite

3) verify that all the config and your path are correct and that the pipeline folder is under the the debug/release folder....

this project was also inspired by the following post http://notepuddle.com/2009/02/10/using-commerce-server-2009-outside-of-a-web-application/

you can check also the following reosurces for CS 2007 http://msdn.microsoft.com/en-us/library/bb219215.aspx

and this application that do the same thing on CS 2007 http://blogs.msdn.com/nihitk/archive/2006/08/07/RunningPipelinesFromAConsoleApp.aspx

Last edited May 11, 2010 at 10:30 PM by steliodibello, version 4

Comments

No comments yet.