✅ How to setup environment variables in Azure Web App
I've deployed my Blazor Server App to Azure Web App. And in App settings I've added some items e.g my Cloudinary URL and in Connection Strings section I've made a connection string named as "DefaultConnection" same as it was in my appsettings.json file. However I'm getting some Postgress EFCore error in production.
Here's my Program.cs:
https://paste.mod.gg/ltvubhnjcema/0
My appsettings.json structure:
AI told me that the environment variables I set are supposed to override these values but apparently they aren't and I'm not sure how to check. Can someone guide me the correct way to do it. Thanks
Here's my Program.cs:
https://paste.mod.gg/ltvubhnjcema/0
My appsettings.json structure:
AI told me that the environment variables I set are supposed to override these values but apparently they aren't and I'm not sure how to check. Can someone guide me the correct way to do it. Thanks