Search
Setup for Free
C
C#
•
3y ago
ricecracker2234
❔ ✅ how do you handle user configurations in wpf with mvvm pattern?
title
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,229
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
❔ How do i handle user settings in wpf .net core
C
C# / help
3y ago
✅ BackgroundWorker in WPF MVVM
C
C# / help
3y ago
WPF Question MVVM
C
C# / help
2y ago
Multiple Selection in WPF with MVVM architect
C
C# / help
14mo ago
R
ricecracker2234
OP
•
4/5/23, 3:25 PM
uh
M
Mayor McCheese
•
4/5/23, 5:27 PM
Did you expect a response
? Pretty limited info probably
C
ChucklesTheBeard
•
4/5/23, 5:45 PM
https://learn.microsoft.com/en-us/visualstudio/ide/managing-application-settings-dotnet?view=vs-2022
WPF
/ MVVM doesn
't change this much
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
.
C
ChucklesTheBeard
~~https://learn.microsoft.com/en-us/visualstudio/ide/managing-application-settin...
S
sibber
•
4/5/23, 6:17 PM
isnt this only for net fw
R
ricecracker2234
title
S
sibber
•
4/5/23, 6:18 PM
i usually store a settings json file in appdata
S
sibber
isnt this only for net fw
C
ChucklesTheBeard
•
4/5/23, 6:22 PM
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
.
C
ChucklesTheBeard
•
4/5/23, 6:52 PM
Another option since the above isn
't intended to be writable
:
https://learn.microsoft.com/en-us/dotnet/api/system.configuration.configurationmanager?view=dotnet-plat-ext-7.0
ConfigurationManager Class (System.Configuration)
Provides access to configuration files for client applications
. This class cannot be inherited
.
M
Mayor McCheese
•
4/5/23, 8:17 PM
ConfigurationManager is still static usage isn
’t it
?
A
Accord
•
4/6/23, 8:27 PM
Was this issue resolved
? If so
, run
/close
/close
otherwise I will mark this as stale and this post will be archived until there is new activity
.
C
ChucklesTheBeard
Another option since the above isn't intended to be writable: https://learn.micr...
R
ricecracker2234
OP
•
4/9/23, 3:58 PM
alright thanks
A
Accord
•
4/10/23, 4:26 PM
Was this issue resolved
? If so
, run
/close
/close
otherwise I will mark this as stale and this post will be archived until there is new activity
.