I have a couple of projects built using ASP.NET Core 3 which I develop on localhost and publish to my shared Windows hosting account.
I want to put the above mentioned projects into GitHub in Public repositiories, but the problem is the appsettings.json file has the connection to the SQL Server database that is on the shared hosting.
Is there any way to get around this information showing in appsettings.json when pushed to GitHub?
I have read about using Secrets in appsettings.json but I don't think I could use the Secrets on the shared Windows hosting (unless I am missing something obvious there).