Azure / AppConfiguration

Questions, feedback and samples for Azure App Configuration service
MIT License
221 stars 66 forks source link

DotNetFramework /WebFormApp sample doesn't refresh #933

Closed jmurphy-asurity closed 2 days ago

jmurphy-asurity commented 1 week ago

I'm running the sample DotNetFramework WebFormApp and the refresher doesn't work. If I step into the TryRefreshAsync call _provider is always null and returns false, and the config value is never updated. The only change I made to the code was adding a connection string.

amerjusupovic commented 6 days ago

Hi @jmurphy-asurity, I tried to reproduce this locally, but startup and refresh seem to be working for me and I only updated the connection string. Its's hard for me to see how _provider could be null within _configurationRefresher once builder.Build() is called.

Also, if you're certain that there are no other changes, could you try to check what version of .NET framework you have installed and update it if needed?

jmurphy-asurity commented 2 days ago

Hi Amer, thank you for looking into it. I tested it again and its working properly for me now. No idea what I did wrong the first time, but I'm good to go. Sorry for wasting your time.