SQLServer Express in docker - can update DB, but cant connect
I have a SQLServer Express in a docker container and my small (still learning) app in VS 2022. Ive used Update-Database in PMC and it works fine.
When I try to hit my simple GET route (built-in swagger) Im getting errors that "the server was not found" - implying it cant connect to SQL.
Connection string seems fine since I can update/migrate DB.
Any idea?
When I try to hit my simple GET route (built-in swagger) Im getting errors that "the server was not found" - implying it cant connect to SQL.
Connection string seems fine since I can update/migrate DB.
Any idea?