Top "App-config" questions

.NET application configuration files contain settings specific to an application.

Reading connection string from external config file

I have created a console application and an app.config file and Connections.config file. The app.config file has …

c# connection-string app-config external configuration-files
.NET - deploying a WCF client, without an app.config

I'm writing a client to a WCF service. This is a single app in a larger system that includes modules …

.net wcf app-config
Get user and password from ConnectionStringSettings

How can I get the user and password from such a connectionString in the app.config with a .NET function? …

c# connection-string app-config
c# error:Unrecognized configuration section userSettings - stop program reading user.config?

In my c# form application (created in VS2010, using .NET 4.0) I use an application setting to store an output path. …

c# app-config user.config
Actually read AppSettings in ConfigureServices phase in ASP.NET Core

I need to setup a few dependencies (services) in the ConfigureServices method in an ASP.NET Core 1.0 web application. The …

configuration asp.net-core app-config startup sections
Visual Studio always selects the wrong xsd for App.config

first of all, I have a .NET 4.0 application with this configuration: <?xml version="1.0"?> <configuration> <startup&…

visual-studio-2010 xsd app-config
How to add newline character in app.config?

I'm not getting as how to write a message in app.config which consists of two or more lines. My …

c# app-config
exePath must be specified when not running inside a stand alone exe

When i am using a web application, the line of code below Configuration objConfig = ConfigurationManager.OpenExeConfiguration( ConfigurationUserLevel.None); in class …

c# web-config app-config
How to enable configSource attribute for Custom Configuration Section in .NET?

following the wealth of information found here how can we get an external .config to work? I've tried the same …

c# .net configuration app-config configuration-files
Can't get my custom configuration section

I am trying to create a custom config section to load the list of 'ovens' my application monitors. This is …

c# .net app-config configurationmanager