Test Your Knowledge

VS + SQL - Lesson 1: Connection Strings Quiz

Answer all questions to test your understanding

1 What is a connection string used for?
2 What authentication method uses your Windows credentials?
3 Where should you store connection strings in an ASP.NET Core app?
4 What is the correct syntax for a SQL Server connection string?
5 How do you read a connection string from appsettings.json in C#?