¡@

Home 

c# Programming Glossary: configsource

.NET Configuration (app.config/web.config/settings.settings)

http://stackoverflow.com/questions/132544/net-configuration-app-config-web-config-settings-settings

more source control friendly through intelligent use of configSource . I've been doing this for 7 years on over 200 ASP.NET applications..

C#, can we share some contents of App.config between projects?

http://stackoverflow.com/questions/2746797/c-can-we-share-some-contents-of-app-config-between-projects

configuration section can be externalized e.g. appSettings configSource AppSettings.DEV.config connectionStrings configSource MyConnection.config.. configSource AppSettings.DEV.config connectionStrings configSource MyConnection.config or system.net mailSettings smtp configSource.. MyConnection.config or system.net mailSettings smtp configSource smtp.TEST.config vs. system.net mailSettings smtp configSource..

Use XML includes or config references in app.config to include other config files' settings

http://stackoverflow.com/questions/480538/use-xml-includes-or-config-references-in-app-config-to-include-other-config-file

poorly documented features that Microsoft is so famous for configSource. I only came across this little gem when I was digging through.. has to offer save the ConfigSource property. By adding a configSource attribute to the root element of any ConfigurationSection you.. SomeProgram.exe.config configuration connectionStrings configSource externalConfig connectionStrings.config configuration externalConfig..

Read custom configuration file in C# (Framework 4.0)

http://stackoverflow.com/questions/6341906/read-custom-configuration-file-in-c-sharp-framework-4-0

want to reference this file from the app.config using the configSource. I want to load it at runtime and read it's content. An example..

configSource doesn't work in system.serviceModel *or* its subsections

http://stackoverflow.com/questions/858225/configsource-doesnt-work-in-system-servicemodel-or-its-subsections

doesn't work in system.serviceModel or its subsections I'm.. various stuff system.diagnostics became system.diagnostics configSource ConfigFiles system.diagnostics.dev with the various stuff moved.. etc. But the same thing happens to me when I try to use configSource with one of them. When I put in system.serviceModel bindings..

How do you manage .NET app.config files for large applications?

http://stackoverflow.com/questions/89245/how-do-you-manage-net-app-config-files-for-large-applications

do this. In case the link rots what you do is specify the configSource for a particular configuration section. This allows you to define.. that particular section within a separate file. pages configSource pages.config which implies that there is a file called pages.config..