Top "Appsettings" questions

How to get the key value from the AppSettings.Config file?

I'm trying to get my key value set in the appsettings.Config file but seems not working. This is what …

c# appsettings
Read appsettings json values in .NET Core Test Project

My Web application needs to read the Document DB keys from appsettings.json file. I have created a class with …

c# unit-testing asp.net-core appsettings
manual language selection in an iOS-App (iPhone and iPad)

My question: How can my iPhone-app tell the iOS, that the user did select a language in the apps preferences, …

ios localization selection appsettings
ASP.NET Core appsettings.json update in code

I am currently working on project using asp.net core v1.1, and in my appsettings.json I have: "AppSettings": { "AzureConnectionKey": "***", "…

c# json asp.net-core .net-core appsettings
Find current country from iPhone device

I have to get the current country in the iPhone settings. Can anyone tell me how to get the current …

ios objective-c iphone application-settings appsettings
Why isn't there an XML-serializable dictionary in .NET?

I need an XML-serializable dictionary. Actually, I now have two quite different programs that need one. I was rather surprised …

.net dictionary xml-serialization appsettings
Bind to a value defined in the Settings

In WPF, Can I use binding with values defined in Settings? If this is possible, please provide a sample.

wpf binding appsettings
How to use ConfigurationManager.AppSettings with a custom section?

I need to get "http://example.com" from using App.config file. But at the moment I am using: string …

c# .net wpf appsettings
Restoring Window Size/Position With Multiple Monitors

Many posts around about restoring a WinForm position and size. Examples: www.stackoverflow.com/questions/92540/save-and-restore-form-position-and-size www.codeproject.com/KB/…

c# winforms multiple-monitors appsettings
appSettings vs applicationSettings. appSettings outdated?

I've got some questions about two ways to save settings in the web.config. Appsettings: Look in web.config <…

c# asp.net properties appsettings web-deployment-project