Caching data with distributed caches like Azure Redis Cache is easy – but how to easily cache whole response from your Web API (response code+body) describes this post.
Celý příspěvek Caching whole API response in ASP.NET CoreŠtítek: asp.net core
Sections in Azure App configuration as in appsettings.json
Do you have some Application settings in appsettings.json for App Service (or Azure Function) structured in sections? And do you know how to set up same structure as Application settings in Azure?
It’s easy – just write Application settings Key in format Section:MyAttribute
for appsettings.json:
{
"myGreatApi": {
"baseUrl": "https://localhost:7071/api/",
"version": 2,
}
}
will Application settings look like:
