provided by codez.one
An endpoint for SPA client apps hosted in an Azure Web App to get configuration values stored in environment variables or Azure KeyVault.
If a Single Page Application hosted in an Azure Web App needs configuration values that are only known in a deployed environment it can get a little tricky. A good example is the URI for an API endpoint used by the client app or details for a client-side authentication like MSAL. These values are known at deployment time and can be set as settings in the Web App. But the only way to access these values from the client is having server-side code that can read the values and provide them to the client.
This extension will take care on that and after installation you will get an endpoint like that:
https://easyconfigsiteextension.azurewebsites.net/.config/environment.json
The response looks like:
{
"section":
{
"setting": "value"
},
"setting1": "value 1"
}
For detail user instruction look at our user manual.
You’re not interested in developing and just want to know more about how to use the software? Right this way
The EasyConfig extension is provided as a nuget package and can be found on nuget.org. The extension will be automaticly indexed by the Azure Web App extension provider and added to the selection in the portal.
Info: As a user you do not have to use this nuget package directly.
Name | Status |
---|---|
Internal Feed on AzDO | |
nuget.org EasyConfig.SiteExtension |
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Inspired by this GitHub repo