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?
The simple solution is achieved through the client library provided by Microsoft. Below are the methods available for the various popular frameworks:
Let’s see a small example on how to create an Azure App Configuration.
Hope you’ve liked this article. Thank you for your time and efforts…
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?
- Containerized app deployed in different geographical locations
- Serverless apps, which include Azure Functions or other event-driven stateless compute apps
- CI & CD (Continuous Integration/ Continuous Deployment) pipeline
- Quick and Easy to setup services that can be managed completed once setup (Takes few minutes to setup)
- Similar to the JSON structure, simple key value pairs mapping
- Supports the tagging facilities with proper labels
- Point-in-time replay of settings
- Powerful User Interface for the management of feature flags
- Provides encryption of sensitive information
- Very well integration with popular frameworks like: .Net, .Net Core, ASP .Net, Java Spring, etc.
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.
- 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]
- Go to create New Resource
- Search for “App Configuration”
- Click on the “Create” button to create the resource
- We’ll now fill out some details, so let’s go ahead:
- Resource Name: [Write any name as per your choice]
- Subscription: [Select the subscription accordingly, may be Azure4Students, VisualStudioEnterprise, etc.]
- Resource Group: Either create a new Resource Group or select an existing one
- Location: Try to create the Resource location nearest to the main App service location
- Pricing Tier: [I’ve selected free, feel free to select any other pricing plan as per your need]
- After clicking on the create button, wait till the resource is being deployed.
- From the notification icon on the top right in the navigation bar, click on the “Go to Resource” button.
- Click on the Configuration Explorer from the left pane in the operations section.
- Click on Create > Key-Value
- Fill in the Key and Value pairs and also create a new label as well. Here we’ll create:
- Key: VisionKey
- Value: XXXXXXXXXX1
- Label: Region-India
- Repeat the above step and create another label with separate region
- The page will show as follows:
- 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.
- This makes it whole lot smoother and faster working of the app.
- 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.
Hope you’ve liked this article. Thank you for your time and efforts…
Comments
Post a Comment