Top "Appsettings" questions

How to update appsettings.json based on publish profile using .NET Core?

I'm currently making the switch from .NET Framework to .NET Core. In the past, all of my application settings were …

visual-studio asp.net-core .net-core asp.net-core-mvc appsettings
Where to store application settings?

Recently, I discovered that the "Web.Config" file contains an <appSettings> section which seemed good for storing one's …

asp.net web-config appsettings application-settings
How to check if Configuration Section exists in .NET Core?

How can you check if a configuration section exists in the appsettings.json in .NET Core? Even if a section …

.net json asp.net-core app-config appsettings
app.config: how do I make a nested customSection called appSettings be the ConfigurationManager.AppSettings

my desired app.config would be like this: <configSections> <sectionGroup name="QA_Environment"> <section name="…

c# app-config appsettings configurationmanager custom-sections
When to use .NET Settings vs config <appsettings>?

Are there any recommendations on when to use Application settings (not per user settings) vs. .config file <appsettings>? …

.net appsettings settings.settings
Why do people consistently recommend using appConfig instead of using Settings files? (.NET)

Very often I see the answer to the question like: "How should I store settings in my .NET app?" is …

.net .net-2.0 app-config appsettings application-settings
VSTS JSON Variable Substitution with Default Release Variables

TL; DR Is there any way that I can use JSON variable substitution with default Release variables in VSTS? Description …

json azure-devops appsettings azure-pipelines-release-pipeline
NLog config file to get configuration setting values from a web.config

Is there a method to get a value from the <ApplicationSettings> section of a web.config within NLog …

web-config nlog appsettings
Is it possible to have an ampersand sign in an appSettings key?

I have the following appSettings section <appSettings> <add key="Foo" value="http://foo.bar.com/?app=xxx&…

asp.net appsettings
How to configure nested objects from appsettings.json in .NET Core?

VS2015 Pro, .NET Core, Web Application. I'm trying to figure out how to get objects out of appsettings, that have …

visual-studio-2015 configuration asp.net-core .net-core appsettings