title: How do I connect to database in ASP.NET Core Web API without using EF?
body: <p>I am attempting to create an ASP.NET Core Web API without using EF Core. Instead, I would like to use System.Data.SQLClient to connect to SQL server, and query it using plain old SQL. That said, I'm having a bit of trouble figuring out how to establish the connection. I've found a lot of tutorials online that address how to do this with EF. But, I'm a bit perplexed as to how it's done without it.</p>