BizTalk ESB Toolkit Sample Applications

The Microsoft BizTalk ESB Toolkit includes several sample applications that you can install and run to see how the ESB works and how it uses some of the ESB pipeline components. You can adapt and modify the code and techniques used in the samples for your own applications.

To install the sample applications

  1. Create a folder named Projects in the root of your C: drive, and create a subfolder named Microsoft.Practices.ESB within this folder.
    In the current release, the supported installation is for the files to reside in the folder C:\Projects\Microsoft.Practices.ESB. The BizTalk binding files that ship with the samples depend on this path.

  2. When you install the download, it includes a .zip file called in the installation location you specified (by default, C:\Program Files\Microsoft BizTalk ESB Toolkit 2.0). Uncompress the file into the C:\Projects\Microsoft.Practices.ESB folder. This will create folders named Keys and Source that contain the sample key and the samples with source code. The Source folder contains the source code for the sample application, and the Keys folder contains the public keys used to sign the assemblies in the sample applications.
  3. Before you run the samples, remove the read-only attribute on the C:\Projects\Microsoft.Practices.ESB\ folder so that the samples install correctly.
  4. If you have not used PowerShell scripts before, you must open PowerShell as an Administrator and run the following command:
    set-executionpolicy unrestricted
    For more information about PowerShell, see the Windows PowerShell Blog and Windows PowerShell on MSDN.

  5. Open a command prompt as an administrator and run the following command to ensure WCF script maps are registered:
    C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>ServiceModelReg.exe -r -y

The following topics describe the sample applications and include additional installation instructions where applicable:

Community Additions