Accessing .config settings
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Accessing .config settings




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Accessing .config settings  
John Watson


Report This Message To A Moderator Edit/Delete Message


 
04-27-04 02:36 PM

What ways are there to access typical configuration settings from C# classes
invoked from within orchestrations? We are trying to do custom logging and
processing to a database and cannot seem to access standard app.config
values for connection strings and other settings.

TIA,

John







[ Post a follow-up to this message ]



    Re: Accessing .config settings  
Matt Milner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-04 05:37 PM

you can either put your configuration in the configuration file for your
host, which for orchestrations is usually btsntsvc.exe.config located in the
biztalk install directory.

There is also a way to specify configuration files for your orchestrations
by putting some other information in the btsntsvc.exe.config file.    See
the following example for how to do this:

http://blogs.msdn.com/scottwoo/arch...1/28/63940.aspx



Matt
"John Watson" <jhw3dATcomcastDOTnet> wrote in message
news:uV9sy2FLEHA.3736@TK2MSFTNGP12.phx.gbl...
> What ways are there to access typical configuration settings from C#
classes
> invoked from within orchestrations? We are trying to do custom logging and
> processing to a database and cannot seem to access standard app.config
> values for connection strings and other settings.
>
> TIA,
>
> John
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:23 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register