Top "App-config" questions

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

Powershell Calling .NET Assembly that uses App.config

I have a Powershell script that is loading a .NET assembly (.EXE in my case) and calling a public method …

.net powershell app-config
Web.Config, external file for system.serviceModel

Using VS2010 I have the following in my web.config (detail removed). <system.serviceModel> <behaviors /> <…

c# web-config app-config configurationmanager
how to parse a config file (*.conf) in shell script?

I am new to shell script. I have a file app.conf as : [MySql] user = root password = root123 domain = localhost …

shell app-config sh readfile
How do I get intellisense in app.config for a custom section?

We have a custom section in my app.config file related to our IoC container class. How can I get …

c# .net configuration app-config custom-sections
Is there a way to override ConfigurationManager.AppSettings?

I really want to be able to have a way to take an app that currently gets its settings using …

.net configuration app-config
C# - Compiler Error: System.Configuration.ConfigurationErrorsException was unhandled

Hey Everyone, How do I fix the Compiler Error upon compiling on "return ((string)(this["TargetDir"]));": System.Configuration.ConfigurationErrorsException was …

c# compiler-errors app-config application-settings settings.settings
How to prevent a Phonegap application to switch to landscape view

This one should be very simple, however it's not. I'm trying to prevent my application from going into landscape view …

cordova app-config config landscape landscape-portrait
Including a service reference from a class library

I have a C# class library and a startup project (a console app). The class library includes a service reference …

c# app-config service-reference
What are best practices storing configuration settings a .NET application?

Configuration file handling is a common problem so I wondered why nobody has asked a similar question yet. In .NET …

c# .net app-config config ini