Skip to content

Instantly share code, notes, and snippets.

@b14ck0ps
Last active May 20, 2023 10:27
Show Gist options
  • Save b14ck0ps/3a311b103dc30e77589d32e31bdd202c to your computer and use it in GitHub Desktop.
Save b14ck0ps/3a311b103dc30e77589d32e31bdd202c to your computer and use it in GitHub Desktop.
connection string for MS SQL -> ASP .Net Core 6
"ConnectionStrings": {
"DefaultConnection": "data source=Zireael;initial catalog=db-name;TrustServerCertificate=True;Integrated Security=true"
}
//docker
"ConnectionStrings": {
"DefaultConnection": "data source=localhost;initial catalog=NY778;TrustServerCertificate=True;Integrated Security=false;User Id=sa;Password=xxxxx!123"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment