skip to Main Content

Troubleshooting connection issue: ASP.NET Core 8 MVC project containerization with SQL Server Docker container

I have an ASP.NET Core 8 MVC project that I've containerized. Initially, I pulled a SQL Server image from Docker Hub and then modified the default connection as follows: "ConnectionStrings": { "DefaultConnection": "Server=mysql-container,3306;Database=ProductsDB;User Id=root;Password=my-secret-pw;" }, However, upon attempting to access…

VIEW QUESTION
Back To Top
Search