❔ ✅ how do you handle user configurations in wpf with mvvm pattern?

title
10 Replies
ricecracker2234
ricecracker2234OP2y ago
uh
Mayor McCheese
Did you expect a response? Pretty limited info probably
ChucklesTheBeard
Manage application settings (.NET) - Visual Studio (Windows)
Learn how to manage application settings that aren't included in the application code but are needed at runtime.
sibber
sibber2y ago
isnt this only for net fw i usually store a settings json file in appdata
ChucklesTheBeard
dammit you're right. Correct link for modern projects: https://learn.microsoft.com/en-us/dotnet/core/extensions/configuration
Configuration - .NET
Learn how to use the Configuration API to configure .NET applications. Explore various inbuilt configuration providers.
ChucklesTheBeard
ConfigurationManager Class (System.Configuration)
Provides access to configuration files for client applications. This class cannot be inherited.
Mayor McCheese
ConfigurationManager is still static usage isn’t it?
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
ricecracker2234
ricecracker2234OP2y ago
alright thanks
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server