Skip to content

Latest commit

 

History

History

Bet.AspNet.LegacyHosting.AzureAppConfiguration

Bet.AspNet.LegacyHosting.AzureAppConfiguration

GitHub license Build status NuGet Nuget feedz.io

Note: Pre-release packages are distributed via feedz.io.

This library was design to support ASP.NET WebForms, MVC4 and WebApi legacy projects with latest Azure App Configuration Provider.

Install

    dotnet add package Bet.AspNet.LegacyHosting.AzureAppConfiguration

Usage

For best practices Microsoft Managed Identity must be used for Endpoint to Azure App Configuration which in turn doesn't work with local development for this reason, please refer to usage of AppAuthentication dotnet cli tool. NOTE: this tool is only used on the local development machine. In Azure Cloud MSI Identity is provided thru Environment variables.

    
    # install the tool
    dotnet tool install --global appauthentication
    
    # run this first before opening vs.net or vscode; 
    # this it will create proper environments for you.
    appauthentication run -l --verbose:debug