Skip to main content

What is Azure App Configuration?

Azure App Configuration can be understood as a configuration resource which handles all the managerial tasks link the management of the setting/ configuration files for the associated application and dealing with various different features.
As the systems around the globe is running globally and it is undoubtedly a distributed system. Hence are the services for the application nowadays, so this distribution of the app services over the regions has made it difficult to debug/ troubleshoot the problems in the services. So for the smoother services the role of Azure App Configuration comes.
What are the Application types that can benefit the most from the Azure App Configuration?
  1. Containerized app deployed in different geographical locations
  2. Serverless apps, which include Azure Functions or other event-driven stateless compute apps
  3. CI & CD (Continuous Integration/ Continuous Deployment) pipeline
What are the Benefits of Azure App Configuration?
  1. Quick and Easy to setup services that can be managed completed once setup (Takes few minutes to setup)
  2. Similar to the JSON structure, simple key value pairs mapping
  3. Supports the tagging facilities with proper labels
  4. Point-in-time replay of settings
  5. Powerful User Interface for the management of feature flags
  6. Provides encryption of sensitive information
  7. Very well integration with popular frameworks like: .Net, .Net Core, ASP .Net, Java Spring, etc.
The main question arises that how to leverage the Azure App Configuration in your app service.
The simple solution is achieved through the client library provided by Microsoft. Below are the methods available for the various popular frameworks:
Programming language and framework How to connect
.NET Core and ASP.NET Core App Configuration provider for .NET Core
.NET Framework and ASP.NET App Configuration builder for .NET
Java Spring App Configuration client for Spring Cloud
Others App Configuration REST API

Let’s see a small example on how to create an Azure App Configuration.
  1. Login to your Azure Portal (if you don’t have an Azure Account then visit this link) [if you don’t have a credit card then follow this link to create an Azure Account via your Work/SchoolA Education Account]
  2. Go to create New Resource
    2020-04-21-1
  3. Search for “App Configuration”
  4. Click on the “Create” button to create the resource
  5. We’ll now fill out some details, so let’s go ahead:
    1. Resource Name: [Write any name as per your choice]
    2. Subscription: [Select the subscription accordingly, may be Azure4Students, VisualStudioEnterprise, etc.]
    3. Resource Group: Either create a new Resource Group or select an existing one
    4. Location: Try to create the Resource location nearest to the main App service location
    5. Pricing Tier: [I’ve selected free, feel free to select any other pricing plan as per your need]
  1. After clicking on the create button, wait till the resource is being deployed.
  2. From the notification icon on the top right in the navigation bar, click on the “Go to Resource” button.
  3. Click on the Configuration Explorer from the left pane in the operations section.
  4. Click on Create > Key-Value
  5. Fill in the Key and Value pairs and also create a new label as well. Here we’ll create:
    1. Key: VisionKey
    2. Value: XXXXXXXXXX1
    3. Label: Region-India
  6. Repeat the above step and create another label with separate region
  7. The page will show as follows:
  8. Let’s take a case into account that we’re having an app deployed in various geographic regions and as it leverages Cognitive Vision service then to keep the response more faster and reduce the load, what we can do is simply go for the creation of multiple resources of the vision so that the keys for the Region-A resource is used for the Region-A App only and similarly for the other regions.
  9. This makes it whole lot smoother and faster working of the app.
  10. This was just a case to keep in account, although one can make use of various dynamic items to be pushed into the app service from the app configuration.
For further reading on how to integrate the Created App Configuration into your application, refer this link.
Hope you’ve liked this article. Thank you for your time and efforts…

Comments

Popular posts from this blog

Post-Event Resources- Ai Gaming with Microsoft Azure Heya  Folks hope you enjoyed the Event, do let us know in the comment section about your experience. As said, Here are the Post Event Resources for your continual Learning... Basic Concept of Ai (Theory) AI in Video Games: Toward a More Intelligent Game What is an API Open-Ai 5 Article Microsoft Cognitive- Getting started with Azure Cognitive Services Bundled Playlist on Youtube Microsoft Cognitive Vision Service- Try for Free online Some Videos by Siraj:  OpenAI Five vs Dota 2 Explained How to Install OpenAI's Universe and Make a Game Bot    How to Make an Amazing Video Game Bot Easily Hope you find the Resources resources... For folks interested in Microsoft Azure ML, Click Here

Creating a URL Shortener Deplyment on Azure (NodeJS) part-2

For reference to the previous post, please refer to this link : Connecting-to-our-Database Now let's head to the package that we added config in the npm install command, what it does is that it will look for default.json the file inside config (folder) which we created earlier that will consist of the global variables for our project. Now let's open that default.json file and place the below snippet in it: { "mongoURI": "<ConnectionStringHere>" } We'll replace the Connection String from the cluster's string from our Atlas Account (if you still don't have an account, click here to create one) After Logging in to the Atlas, create a free Cluster and add a database user in it Now use the below code in the db.js the file inside the config (folder): const mongoose = require('mongoose'); const config = require('config'); // Grab the Connection string URL from the default.json file const db = confi...

Signing Up for Azure 4 Students Account

Sign-Up: Microsoft Azure 4 Students Hola readers, In this post we're gonna learn how to create a new Microsoft Azure Account for Students. As a typical Azure account requires you to provide with the Credit Card details but due to the fact that not all the students around the globe have credit cards. So Microsoft have a provision for granting Azure Credits to students by the help of their Educational Account provided by their School/ Universities. Here are the steps provided to create a new Azure4Students Account (Though a video is also available to follow along): Text version of the SigningUp Process Visit: aka.ms/Azure4Students Sign in with your Microsoft Account or create a Microsoft Account if you don't have one After successfully logging in, enter your Country code & mobile number. Then click on the Verification options (Text/ Call) for your Identity verification. Next comes the Student Verification. This can be done by either: Providing your scho...
Counter Widget