M
Martin
Hi,
I'm creating an assembly that has some configuration requirements (eg access
credentials to perform a service).
I guess my config settings would go in myapp.exe.config (windows app) or
web.config (asp.net app) like so...
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="myAssemblySection"
type="System.Configuration.MyAssemblySectionHandler" />
</configSections>
<myAssemblySection name="myname" password="LJOIOIJSDLKJOIJOIUYRET" />
</configuration>
I suppose I should access this file like so
System.ConfigurationSettings.GetConfig(...)
My assembly is called by the following two routes:
1) Commerce Server pipeline (COM interop dll)
2) an ASP.Net app.
I have two requests:
1)Please confirm my assumptions above on configuring my assembly.
2) Will the Commerce Server pipeline route work? ie what config file will
it try to look in?
Thanks
Martin
I'm creating an assembly that has some configuration requirements (eg access
credentials to perform a service).
I guess my config settings would go in myapp.exe.config (windows app) or
web.config (asp.net app) like so...
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="myAssemblySection"
type="System.Configuration.MyAssemblySectionHandler" />
</configSections>
<myAssemblySection name="myname" password="LJOIOIJSDLKJOIJOIUYRET" />
</configuration>
I suppose I should access this file like so
System.ConfigurationSettings.GetConfig(...)
My assembly is called by the following two routes:
1) Commerce Server pipeline (COM interop dll)
2) an ASP.Net app.
I have two requests:
1)Please confirm my assumptions above on configuring my assembly.
2) Will the Commerce Server pipeline route work? ie what config file will
it try to look in?
Thanks
Martin