Implement the feature of User Options. Showcase how to use IOptions of T to fetch user settings, IOptionsMonitor to get notifications when it changes and use JsonSerializer, Custom JsonConverter to save it.
Resources
Demo code: https://github.com/xiaomi7732/CodeWit...
Copy settings file to output folder:
https://gist.github.com/xiaomi7732/ad...
NumberIt (CodeNameK): https://github.com/xiaomi7732/CodeWit...
Discord server for Code w/ Saar: / discord
Reach me on twitter @CodeWithSaar
If you want to buy me a coffee: https://www.buymeacoffee.com/codewith... and thank you!
Chapters
00:00 Intro
00:37 Define the feature of User Options
01:31 How to load user options
05:56 How to monitor user option changes
09:06 How to save options
13:03 Sub topic: JsonConverter