Top "Appsettings" questions

Azure Application Settings not overriding my appsettings.json file values

I have tried adding DefaultConnection from my appsettings.json file to Azure's Application Settings but Azure will not override the …

azure asp.net-core appsettings
how to change .NET user settings location

By default settings are stored at: C:\Documents and Settings\\Local Settings\Application Data\<Project Name> How can …

c# appsettings application-settings
How to read appsettings.json in my _layout.chtml

I cannot seem to figure out how to read values from the appsettings.json in my _Layout.chtml file. Is …

razor model-view-controller configuration appsettings
ConfigurationManager.AppSettings - Returns Null

Im trying to read settings from my app.config and im sure it was working before but now it returns …

c# app-config configurationmanager appsettings
AppSettings.json for Integration Test in ASP.NET Core

I am following this guide. I have a Startup in the API project that uses an appsettings.json configuration file. …

c# configuration asp.net-core integration-testing appsettings
Error parsing AppSettings value with a query string

In my AppSettings in web.config, I have something like this: <appSettings> <add key="ExternalSystemUrl" value="http://…

c# asp.net exception-handling web-config appsettings
ConfigurationManager.AppSettings["SettingName"] vs Properties.Settings.Default.SettingName when should I use each?

What should dictate when I should use the configurationManager.AppSettings or the strongly typed settings that visual studio generates? The …

.net configuration appsettings
Optional appsettings.local.json in (new format) visual studio project

My app uses appsettings.json for some settings. If appsettings.local.json is present, that should override appsettings.json for …

c# git visual-studio-2017 appsettings local-files
What is the difference between app.config file and XYZ.settings file?

I am actually in the learning phase of .NET related stuff and I was exploring how to save the application. …

.net configuration settings appsettings
AppSettings fallback/default value?

ASP.NET For each appSetting I use, I want to specify a value that will be returned if the specified …

c# asp.net appsettings namevaluecollection fallbackvalue