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...
  • НаукаНаука

Комментарии • 13

  • @jessedellemann2939
    @jessedellemann2939 Месяц назад

    Thank you, nice tutorial!

  • @TechKingdomChannel
    @TechKingdomChannel Год назад

    this is good , thanks

  • @UcheEcoma
    @UcheEcoma Месяц назад

    Great tutorial bud, can I use enums instead of strings

  • @dikshakamble1999
    @dikshakamble1999 Год назад +1

    hello sir , really nice tutorial , could you please make a video to fetch the data from csv file in DataGrid using MVVM model

  • @olanrewajusaka3991
    @olanrewajusaka3991 Год назад +1

    Nice Tutorial Bro, Please can you n=make a tutorial on User Role Base Management and Permission in C# WPF, Please

  • @shaihulud4515
    @shaihulud4515 6 месяцев назад

    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?

  • @saexpat
    @saexpat 4 месяца назад

    Do these settings persist across updates?

  • @kurdishprogramming4698
    @kurdishprogramming4698 9 месяцев назад

    👏👏👏👏👏👏

  • @AbdulvosidFoziljonov
    @AbdulvosidFoziljonov 9 месяцев назад

    👍🏻

  • @UcheEcoma
    @UcheEcoma Месяц назад

    Also what’s the advantage of using this over storing in a database

    • @TacticDevs
      @TacticDevs  Месяц назад

      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

  • @saexpat
    @saexpat 4 месяца назад

    Do these settings persist across updates?