2
votes

I need to get the correct connection string for sa user in asp.net core, appsettings.json

"DefaultConnection": "Server=(LocalDB)\MSSQLLocalDB;Database=CakeShop;Trusted_Connection=True;MultipleActiveResultSets=true"

1

1 Answers

3
votes

Replace

Trusted_Connection=True;

with

User Id=sa;Password=*****;