SmartsIntegrator Support and Discussion Forums

External Config

Share/Bookmark: Add this Thread to Digg Digg   Add this Thread to StumbleUpon Stumble Upon   Add this Thread to Del.icio.us Del.icio.us   Add this Thread to Reddit Reddit   Add this Thread to Facebook Facebook
RE: External Config
by benj on Wed, Oct 29 2008 3:03 PM
Regarding putting configuration information in a config file, you can use the [ServiceName].exe.config files and then access the settings just using the .Net configuration API (System.Configuration.ConfigurationSettings.AppSettings["settingName"]). You could of course also use the .Net configuration API to mount your own configuration file, or indeed just use the Xml classes – you can access the SmartsIntegrator installation folder using System.AppDomain.CurrentDomain.BaseDirectory.

We could add a simpler configuration API and possible GUI, to allow system settings to be defined in the Explorer and then accessed from VSTA code directly – do you think this would be useful?
Ben Jackson
SmartsIntegrator Technical Support
benj
benj
Joined: Thu, Feb 7 2008
Posts: 96
External Config
by portedquery on Wed, Oct 29 2008 3:02 PM
Ben,

Sorry, one other thing....In BizTalk, you can out external config stuff into the BTHostService.Exe.Config file. Is there something similar in SI so that I can reference configs from within a Workflow?
portedquery
Joined: Wed, Jul 2 2008
Posts: 72