this is what I used to connect in .NET Framework App
<connectionStrings><add name="ARTSQLConStrng" providerName="System.Data.SqlClient" connectionString="Data Source=EMBRYOLOGIST;Initial Catalog=ARTSQL;Persist Security Info=True;User ID=ARTSQLDB;Password=abumaizer85;Integrated Security=SSPI" /></connectionStrings>
The Server is my PC and of course the database on a network path.
How can I write it in appsetting.json, I tried the following but did not work
{"Logging": {"IncludeScopes": false,"LogLevel": {"Default": "Warning" } },"ConnectionStrings": {"ARTNetCore": "Data Source=EMBRYOLOGIST;Initial Catalog=ARTCORE;Database=ARTCORE;Trusted_Connection=True;MultipleActiveResultSets=true" } }