This presentation was conducted at Azure Squad September Meetup giving the audience exposure to the capabilities of Azure App Configuration and how to use it in ASP.Net Core applications
2. I am, Kasun Kodagoda
• In ♥ with Azure & Azure DevOps
• Active Blogger – https://kasunkodagoda.com
• Open Source Contributor - https://github.com/kasunkv
• Technical Lead
I Work For,
• Established in 2004
• Headquartered in Sri Lanka with offices in
Europe and Australia
• Providing high quality, high value Software
Product Engineering + R&D services
3. What is Azure App Configuration?
Azure App Configuration is service that allows
you to centrally managed application settings
and feature flags.
4. Why Use Azure App Configuration?
• Modern cloud applications are distributed
• multiple instances running across many geographic locations
• Managing application settings across these distributed instances is
hard
• difficult to troubleshoot issue when it comes up
• Having the stored in a centralized location will solve this issues
• Best practice to separate application settings from application code
5. Azure App Configuration Features
• Full Managed Service
• Flexible Key Representation
• Key Tagging with Labels
• Point In Time Snapshots for Settings
• Feature Flag Management UI
• Encryption at Rest and on Transit
• Support for Managed Identities
6. What About Azure Key Vault?
• Azure App Configuration complements Azure
Key Vault
• Not a replacement for Azure Key Vault
• Azure App Configuration is not the best
option for application secrets
• Even if App Configuration is encrypted
• Azure Key Vault is the best place for
application secrets, connection strings etc.
7. Key & Values
• Keys are the names of the key-value pairs
• Used to store and retrieve the values
• Unicode based, Case Sensitive
• ASP.Net Core configuration is case-insensitive
• Use any Unicode character except for * ,
• Limit of 10000 characters for key-value pair
8. Designing Keys
• 2 main approaches to design keys
• Flat
• Hierarchical
• Hierarchical is better because
• Easier to read
• Logic grouping, easier to manage and use
AppNameEndpointsApiEndpoint - Flat
AppSettings:Authentication:ClientId - Hierarchical