I am try to made to work the example in Microsoft: Tutorial: Use dynamic configuration in an Azure Functions app but as original actually does not work for me, the functions call the Timer function, but stop there. I discovered that the reason was this line of code:
.ConfigureFunctionsWorkerDefaults(app =>
{
// Use Azure App Configuration middleware for data refresh.
app.UseAzureAppConfiguration();
})
If you eliminate the line the application work, then my question is: If I eliminate the code the middleware continue to works or not.
I am using NET 8.0, maybe this change here. In the other hand I use the same code than the tutorial.
I have followed this MS Doc too and used .NET8 to get the value from App Configuration. Below code and configuration worked for me.
ShowMessage.cs-
Program.cs-
.csproj-
Using the given code, I am able to fetch the value from App Configuration as shown below-