First, make sure your configuration is written correctly.
Check whether appsettings.json exists or the value is spelled correctly.
Select appsettings.json and right-click = & gt; View properties and change configuration. As shown in the figure:
(valid for personal test)