I've just published my first Blazor WASM app (ASP.NET Core hosted) to Azure app service and I set it up to use Azure SQL just to get started. I'd like to change the connection now and instead point my app to an SQL Server database on a cloud server we rent, but I'm struggling to figure out how to do it.
I've logged into Azure, gone to configuration, removed the default connection string and added my alternative connection string and saved, but my app still seems to be pointed at the Azure SQL database.
When I ran my code from Visual Studio, the connection string was stored in my appsettings.json but this seems to have become redundant in my published app.
I'm also not sure if the format of my connection string is right. This worked when I was building the app on my machine so I kind of assumed it would be okay in production too:
Server=xxx.xxx.xxx.xxx;Database=DatabaseName;User ID=UserId;Password=Password;MultipleActiveResultSets=true;Application Name=EntityFramework