I am developing my first Blazor Server .Net 6 app. I have a live and dev environment for my app. I am using the "Publish" option in VS2022 where I have 2 ftp profiles configured (live and dev). Is there a way I can configure the Publishing profile to use a Dev db connection string and equally my Live to use the live db connection string
I noticed my app has a appsettings.json and a appsettings.Development.json but im not sure how this is being used by the Publish method
Is there a simple way to do this? Or should I be looking at another method
Many thanks in advance