c# - Can I store database connection strings and web service links in a different file -
i found link. cool. shows how can store appsettings in different file: http://sureshbeniwal.blogspot.com/2008/04/store-appsettings-in-external-file.html
can same thing connectionstrings tag?
can same thing web service links?
this web application web links in format:
<applicationsettings> <webstrat.web.properties.settings>
all configuration section elements (such connectionstrings
etc) have configsource
attribute, as discussed on msdn. allows specify separate file inclusion, not in way have shown.
example:
<connectionstrings configsource="connectionstrings.config" />
Comments
Post a Comment