BizTalk Server Tutorial

BizTalk Server Concepts and Common Errors

Walkthrough Using BizTalk Deployment Framework (BTDF) – 2 (Using Environment Specific Binding Files)

This is in continuation to my previous post on  Walkthrough Using BizTalk Deployment Framework (BTDF) 1

In this post, I am going to show how to use different binding files specific to different Environments.

1. I am going to use the same BizTalk Example I created in step 2 of previous post.
2. Open the SettingsFileGenerator.xml (come when you add BTDF project to BizTalk) using Microsoft Excel.

1

2
3. Add all the important Configuration values like Port Names, Port Locations, Host Names in the Excel sheet. Add the name in Column A and the Corresponding values for different environments in Columns B, C, D, E, F
4. Completed excel sheet will be like below.

3

 

5. Now open PortBindingsMaster.xml file which will hold the Binding File.

4

6. For the settings defined in Step4, replace the corresponding hardcode values with placeholders.

Example: I will replace Please note, you should here use “{“ not “(”
7. My updated PortBindingsMaster.xml will be like below.
5

 

8. Update the Property group in Deployment.btdfproj file to include the below properties.
6
9. Generate the MSI file using Tools -> Deployment Framework for BizTalk -> Build Server Deploy MSI
7

 

10. Start installing the MSI file as usual. At last check the checkbox and click Finish.

 

8

9

10

 

11. This will start the deployment process in BizTalk.

 

11
12. In step 2, select the Corresponding Environment File to which you want to deploy.

 

12

13. This will replace the entire place holders in your PortBindingsMaster.xml with the corresponding Environment values that you specified in SettingsFileGenerator.xml (step 3 above).
14. Complete the deployment Process. (Note: You can edit the SettingsFileGenerator.xml any time before deploying the Application to BizTalk. Not necessary to edit before generating MSI file. )

Hope this helps

– Shiv

February 5, 2013 - Posted by | Deployment | , , , ,

2 Comments »

  1. Awesome. It helped.

    Comment by Anonymous | March 17, 2013 | Reply

  2. […] This is in continuation to my previous posts on BTDF Basics and Using Environment specific binding files. […]

    Pingback by Walkthrough Using BizTalk Deployment Framework (BTDF) – 3 Deploying Virtual Directories « BizTalk Server Tutorial | February 8, 2013 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: