Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

Cloud Native Configuration and Setting in ASP.NET Core

Play Cloud Native Configuration and Setting in ASP.NET Core
Sign in to queue


One of the "Factors" in cloud native applications states you should store your configuration and settings outside of your core application code. In this episode, Shayne talks with Andrew to get a run down on how the configuration options in .NET Core allows for layers of configurability and abstractions for your app.

Resource Links:

Configuration in ASP.NET Core

Use multiple environments in ASP.NET Core

Azure App Configuration

Azure Key Vault Configuration Provider in ASP.NET Core 

How to use managed identities for App Service 

Safe storage of app secrets in development in ASP.NET Core


[01:50] - Andrew explains the layering system for settings in ASP.NET Core

[03:12] - Environments and managing them.

[05:35] - Externally storing settings for your applications

[08:50] - Naming conventions and patterns to be aware of

[11:00] - Azure Key Vault & Managed Service Identity



The Discussion

  • User profile image
    This was great! Thank you. Any chance you could link directly to the docs for building cloud native configurations? I understand the 'concepts' ...just need practical examples to try.

    Also Shayne, because this is so important, it would be SO VERY AWESOME if you could do a mini-series on these cloud native configurations on the site (like you did with Docker). The steps to pull configuration out of our code, and have them picked up by Azure configuration settings are not necessarily obvious/intuitive, so a few practical examples on the learning site would be very helpful!
  • User profile image

    Apologies for the missing links, will add those asap. In the meantime here is the link to the docs for Configuration -> Configuration in ASP.NET Core and I'll pass on the request for a configuration 101 video to the team.

Add Your 2 Cents