Azure App Configuration and dynamic reloading

Azure App Configuration (still in preview) is a very simple way of uploading appsettings.json to azure. Add nuget Microsoft.Extensions.Configuration.AzureAppConfiguration and a call to extension method AddAzureAppConfiguration. Then only a single connection string is required to acces it (bbest practice is to set it into environment variable).

Pretty cool with a better granularity than key vault (granularity at file level instead of entry level).

A Watch method is available to implement 30 seconds reload on specifics parts. A better option should have been to use a WebHook called on each changes (perhaps an incoming evolution).

ASP.NET Blog | Configuring a Server-side Blazor app with Azure App Configuration

Advertisements