Developer42

2009-10-27

BizTalk ConnectionString

Filed under: BizTalk, Ideas, Microsoft, Technology — Tags: , , , , , — Developer42 @ 19:24

When using BizTalk, there’s often one or two databases you’ll need to access regularly. Rather than hard coding these in parameters of the database methods, a potential solution is to create a functoid which returns the required connection string. This gives you the advantage that should you need to change your connection string, changing it in your functoid will simultaneously update everywhere using that connection string. Of course, once you’ve got one connection string to your configuration database, you can use simple names to access your other databases, since these names can be stored in your configuration database along with the relevant connection strings, making them even easier to maintain.

Create a free website or blog at WordPress.com.

%d bloggers like this: