Skip to content

Simple Azure demo that demonstrates interaction between App Service, Key Vault Service and App Configuration Service

Notifications You must be signed in to change notification settings

LoW0lf/azure-app-config-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Simple Azure demo that demonstrates interaction between the following services according to recommended Azure best practises:

  • ASP.Net Core App
  • App Service
  • Key Vault Service
  • App Configuration Service

Run Demo

Create infrastructure

  1. Change the Azure backend part (line 3-5) in main.tf to an existing storage account in your subscription (required for storing terraform state)
  2. Login to Azure: az login
  3. Select subscription of terraform state: az account set --subscription XXX
  4. Initialize Terraform: terraform init
  5. Apply Terraform with the subscription ID & tenant ID where you want to deploy the demo terraform apply -var 'subscription_id=XXX' -var 'tenant_id=XXX'

Set configuration in App configuration service

  • Add the following configurations to the app configuration service via portal: TestApp:Settings:BackgroundColor=> e.g. Yellow
  • Add a feature toggle with the Key Beta

Deploy app

  • Build & Publish /app/app.csproj to newly created app service

Play around

  • Change BackgroundColor configuration => check behaviour in app
  • Toggle feature Beta => check behaviour in app

Resources

About

Simple Azure demo that demonstrates interaction between App Service, Key Vault Service and App Configuration Service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published