I need help, I'm trying to deploy my ASP.NET Core Blazor web assembly on somee, but I am having an issue on how to change my connection string while deploying to somee server. In my server project I have appsettings.json
configured like this:
"ConnectionStrings": {
"DefaultConnection": "server=localhost\\sqlexpress;database=xxxxxx;trusted_connection=true"
},
while my somee connection string goes like this:
workstation id=xxxxx.mssql.somee.com;packet size=4096;user id=xxxx_SQLLogin_1;pwd=xxxx;data source=xxxx.mssql.somee.com;persist security info=False;initial catalog=xxxx
Please how do I integrate the somee connection string into my appsettings.json
before deployment?