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

One Platform Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

One Platform - Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

One Platform - Operations, Monitoring and Analytics Software
ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

Back to Top