|
Home > Archive > BizTalk Server Orchestration > November 2004 > Best practice for maintaining & accessing configurable settings?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Best practice for maintaining & accessing configurable settings?
|
|
|
| My orchestration will be accessing a C# assembly which does some work with
the database. But I don't want to hard code the database connection
parameters in to the C# code, but would rather have them as configurable
deployment time settings.
What facilities does BizTalk provide for maintaining configurable settings
such as these? I'd like to be able to maintain the settings in a file for
example, or have them as deployment parameters for the orchestration which
can then pass them on to the C# code.
| |
| Hugo Rodger-Brown 2004-11-25, 7:46 am |
| Try searching for posts on "BTSNTSvc.exe.config" - configuration data can be
put in there.
Hugo
"Xerox" <Xerox@discussions.microsoft.com> wrote in message
news:22D9856B-4BDD-48B9-9476-83F7DCDEE7BF@microsoft.com...
> My orchestration will be accessing a C# assembly which does some work with
> the database. But I don't want to hard code the database connection
> parameters in to the C# code, but would rather have them as configurable
> deployment time settings.
>
> What facilities does BizTalk provide for maintaining configurable settings
> such as these? I'd like to be able to maintain the settings in a file for
> example, or have them as deployment parameters for the orchestration which
> can then pass them on to the C# code.
| |
| Alan Smith 2004-11-25, 7:46 am |
| Hi,
This has been discussed here a bit. Basically there are 3 main options.
BTSNTSvc.exe.config
Business Rules
Microsoft Configuration Management Application Block.
There are a few posts describing the pros and cons of each method.
/Alan
"Xerox" wrote:
> My orchestration will be accessing a C# assembly which does some work with
> the database. But I don't want to hard code the database connection
> parameters in to the C# code, but would rather have them as configurable
> deployment time settings.
>
> What facilities does BizTalk provide for maintaining configurable settings
> such as these? I'd like to be able to maintain the settings in a file for
> example, or have them as deployment parameters for the orchestration which
> can then pass them on to the C# code.
|
|
|
|
|