- MS SQL Server
In Visual Studio 2022, right-click on CalendarTodoList.Server
then select Manage User Secrets
and add a connection string as in the example.
// secrets.json
{
"ConnectionStrings": {
"Default": "Server=localhost\\SQLEXPRESS;Database=CalendarTodoList;Trusted_Connection=True;TrustServerCertificate=True;"
}
}