Sample on using Environemnt Variables? - Neuron ESB User Network2024-03-29T07:46:08Zhttp://forum.neuronesb.com/forum/topics/sample-on-using-environemnt-variables?feed=yes&xn_auth=noHi Alex,
Yes....I'll write…tag:forum.neuronesb.com,2011-08-17:2748813:Comment:77642011-08-17T04:08:54.706ZMartin Wasznickyhttp://forum.neuronesb.com/profile/MartyWasznicky
<p>Hi Alex,</p>
<p> </p>
<p>Yes....I'll write up something this weekend for you. Been traveling a bit. My goal is to write something up for every new thing in the .13 Release.</p>
<p> </p>
<p>To get a quick primer on how Environmental variables can be used though, check out the Neuron Documentation CHM file. Specifically under the "User Interface Reference -> Pipelines -> Pipeline Steps Reference" section. It will outline how to use Environmental variables with pipeline steps. Its very…</p>
<p>Hi Alex,</p>
<p> </p>
<p>Yes....I'll write up something this weekend for you. Been traveling a bit. My goal is to write something up for every new thing in the .13 Release.</p>
<p> </p>
<p>To get a quick primer on how Environmental variables can be used though, check out the Neuron Documentation CHM file. Specifically under the "User Interface Reference -> Pipelines -> Pipeline Steps Reference" section. It will outline how to use Environmental variables with pipeline steps. Its very similar with Service and Adapter Endpoints as well.</p>
<p> </p>
<p>You can also access the value of the current environmental variable within a code pipeline step at any time by using the following code snippet:</p>
<p> </p>
<p>// get connection string from Environment variable and insert record into database</p>
<p>string connectionString = Neuron.Configuration.NeuronEnvironment.Current.GetEnvironmentVariable("IrmsAuditConnectionString");</p>