DEV Community

Discussion on: OPTIONS PATTERN IN .NET 6

Collapse
 
michelsylvestre profile image
Michel Sylvestre

And for those who would see using Azure Key Vaults or Azure Function configuration a limitation for the options pattern, don't worry!

In Key Vaults, double dash (--) serves as hierarchical marker.
Ex. : OptionsConfigurationBase--Test1
is the same as
"OptionsConfigurationBase": { "Test1": "It's a test configuration" }

The same can be achieved in Function Apps with double underscore (__), and prievioulsy colons.

Collapse
 
maurizio8788 profile image
Maurizio8788 • Edited

Thank you very much for this insight @michelsylvestre !!