I am creating an ASP.NET Core 6 Web API (VS 2022), and executing any controller API through swagger ui results in a connection to SQL Server error. Following
Shared Memory and TCP enabled.
CodePudding user response:
Resolved, was running on docker so it wasn't able to connect to localhost. Switch to (project name). Dropdown split button options