Category : asp.net

I’m trying to develop a Vue.JS SPA and serve it using an ASP.NET Core core application which runs in a Docker container, while retaining the ability to have the SPA auto-update when I make changes to the code in Visual Studio 2019. I notice that .UseProxyToSpaDevelopmentServer() is provided through ISpaBuilder when configuring the app.UseSpa() call ..

Read more

I have a ASP.NET 5.0 Web API using Entity Framework to access SQL Server. Running (F5) from Visual Studio works fine. The connection string is Server=(localDB)MSSQLLocalDB;Database=***;Integrated Security=true I then add docker support. Now if I debug the app with the Docker profile I get a System.PlatformNotSupportedException: LocalDB is not supported on this platform. What should ..

Read more

I have a .NET Core application running in docker that connect to MySQL database on docker, when MySQL docker container run with docker run command : C:dev>docker run -p 3310:3306 –name=mysql1 -e MYSQL_ROOT_PASSWORD=pw -d mysql:5.6 C:dev>docker run -p 3311:3306 –name=mysql2 -e MYSQL_ROOT_PASSWORD=pw -d mysql:5.6 I don’t get the error, but when I try using docker-compose ..

Read more

I’ve got an ASP.NET Core API server. I’m using some python libraries via Python.Included. When I build a Dockerfile and run it, it complains about being unable to load shared library ‘python37’. When PythonEngine.Initialize() is run, an error is thrown. Error message when docker build: System.DllNotFoundException: Unable to load shared library ‘python37’ or one of ..

Read more

It works with docker compose on my local machine, using the service name as as the hostname for the httpclient call but it doesn’t work on heroku and I keep getting the following error, apparently there’s a problem with the multi-container communication Connection id "0HM9TMTBOMRA8", Request id "0HM9TMTBOMRA8:00000002": An unhandled exception was thrown by the ..

Read more