In this RAW video I will show you how to use IOptions and Configuration in .NETCore for you Umbraco V9 packages
Links
Emma Garland - 24Days Article on config for .NETCore
https://24days.in/umbraco-cms/2020/um...
Andrew Lock - Debugging Configuration Values for .NETCore
https://andrewlock.net/debugging-conf...
Timestamps
00:00 Intro
01:03 Revisiting our Package
01:27 Adding our Settings POCO and Setting Default Values
03:35 Options Pattern and Documentation from Community
04:34 Adding New Extension Method for Options Configuration aka via code
08:15 Showing how to use Options Configuration in Startup.cs
10:45 Consuming Options Values in Our Code
13:22 Testing our code works
14:50 Adding New Extension Method for Configuration aka via AppSettings and Similar
18:16 Using Umbraco Composer to Use New Extension Method
18:56 Showing how to use Configuration in AppSettings.json
20:33 Testing our code works with AppSettings Values
22:03 AppSettings.json and AppSettings.Development.json
24:40 Handy Tip for Debugging Configuration
31:08 Order is Important
34:42 Outro