Top "Appsettings" questions

Reading settings from app.config or web.config in .NET

I'm working on a C# class library that needs to be able to read settings from the web.config or …

c# .net configuration appsettings
AppSettings get value from .config file

I'm not able to access values in configuration file. Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); var clientsFilePath = config.AppSettings.Settings["…

c# .net appsettings configurationmanager
Getting value from appsettings.json in .net core

Not sure what am I missing here but I am not able to get the values from my appsettings.json …

c# asp.net-core configuration asp.net-core-mvc appsettings
ConfigurationManager.AppSettings - How to modify and save?

It might sound too trival to ask and I do the same thing as suggested in articles, yet it doesn't …

c# .net appsettings configurationmanager settings
Opening the Settings app from another app

Okay, I know that there are many question about it, but they are all from many time ago. So. I …

ios objective-c iphone application-settings appsettings
Get ConnectionString from appsettings.json instead of being hardcoded in .NET Core 2.0 App

I have the following class in NET Core2.0 App. // required when local database does not exist or was deleted public …

c# asp.net-core connection-string appsettings
How to check if an appSettings key exists?

How do I check to see if an Application Setting is available? i.e. app.config <?xml version="1.0" encoding="…

c# appsettings configurationmanager
Automatically set appsettings.json for dev and release environments in asp.net core?

I've defined some values in my appsettings.json for things like database connection strings, webapi locations and the like which …

c# asp.net-core appsettings
Value cannot be null. Parameter name: connectionString appsettings.json in starter

I am trying to write my connection string in my appsettings.json file and bring it into my startup file …

json asp.net-core asp.net-core-1.0 appsettings
how to get value from appsettings.json

public class Bar { public static readonly string Foo = ConfigurationManager.AppSettings["Foo"]; } In the .NET Framework 4.x, I can use the …

.net appsettings