I am following the steps from this guide: https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/docker/visual-studio-tools-for-docker?view=aspnetcore-3.1 Steps to Reproduce: Create a new solution, with an ASP.NET Core API Project, checking "Configure for HTTPS" and "Enable Docker Support", and selecting Linux. Run the project in the "Docker" configuration. The containers are created, the browser opens, but it cannot connect, with a message "ERR_CONNECTION_REFUSED" ..
What I am trying to accomplish The final result I’m trying to create is a scenario in which the Web API is not exposed to the localhost, yet the Web MVC website can communicate with the Web API, parsing its results. Background I’m new to the Docker world, and as I learned how to run ..
Container is working all the time: When I run an app in Visual Studio debugger: I can access my page normally on url https://localhost:49170/ – everything works fine. However if I close debug and try to access it ( containter is running all the time ), page is not available. I tried to search for ..
I am using Visual Studio 2019 and using SQL Server docker image from this website I created docker container by docker run -d –name MySQLServer -e ‘ACCEPT_EULA=Y’ -e ‘[email protected]#’ -p 1433:1433 microsoft/mssql-server-linux I also connect the SQL Server using Azure Data Studio I have created migration script by command add-migration Initial When I run below ..
While creating an ASP.NET 5.0 project which is being deployed into an Alpine Linux container (with corresponding pdb files generated), I’ve noticed that I can’t use step over or step into when my breakpoint is hit. VS is able to attach to the container’s process and all specified breakpoints are hit (ie, VS stops at ..
I’m currently running VS 2019 16.9.4. I have Docker Engine 20.10.5. It is using WSL 2. I’m using docker-compose in visual studio. The Dockerfile is using aspnet:5.0.5-buster-slim. When I fire up docker-compose and set a breakpoint, everything works until the breakpoint is hit. Then a popup appears that says "A debugger operation is taking a ..
I was successfully able to dockerize my webapplication. Unfortunately Debugging only works partially within the docker container. All the code that is located in the startup project is debuggable, but the assemblies that are being loaded at runtime don’t work. I am aware that .pdb files need to be loaded for debugging to work. I ..
I have created a project with Docker support opted before project initiation. Now I don’t have the option to add Docker support (of course), and Container Orchestration Support when I right-clicked on the project -> Add. When I tried creating a mock project without Docker support. I’m able to add both Docker support and Container ..
When I try to start the project on Visual Studio 2019 it stopps when building the services. I have a project running in a Service, I am not an expert with Docker. I have Restarted Docker Desktop, cleaned and Rebuild my Project, checked the DNS, Checked for Updates, and none of this things have solved ..
I followed the instructions to install Visual Studio Build Tools from Microsoft website. Instead of installing it into a Server Core, I installed it into a Windows Nano Server. The build appears to be successful. When I create a container from this image, I can see that vs_buildtools.exe is in the TEMP directory. However, it ..