How to Store and Retrieve Setting In WPF
HTML-код
- Опубликовано: 13 мар 2023
- This video demonstrates how to implement an Application preference feature that allows a user to read and modify application settings and store them to a config file, which can then be loaded at startup to configure the application accordingly."
In .NET, configuration files are commonly formatted in XML or JSON and are organized into sections to group related settings for improved readability and management. This tutorial will show how to store custom settings that are specific to an application, thus facilitating the customization of an application's behavior and functionality.
Source Code :
github.com/TacticDevGit/WPF-A... - Наука
Thank you, nice tutorial!
this is good , thanks
Great tutorial bud, can I use enums instead of strings
hello sir , really nice tutorial , could you please make a video to fetch the data from csv file in DataGrid using MVVM model
Nice Tutorial Bro, Please can you n=make a tutorial on User Role Base Management and Permission in C# WPF, Please
I don't get this to run with wpf :( I already have a viewmodel which represents the datacontext, so how am I supposed to store and retrieve data?
Do these settings persist across updates?
👏👏👏👏👏👏
👍🏻
Also what’s the advantage of using this over storing in a database
This method is simple because it stores the configurations in a text file adding a database would add more layers to the application and make it unnecessarily huge and complex, it also has performance advantages because it’s quicker to read from a text file than to query from a database
Do these settings persist across updates?