Can I publish a .Net application which is not ASP.NET 5 or ASP.NET Core in Docker containers?

Can we publish a .Net application which is not ASP.NET 5 or ASP.NET Core in Docker Containers?

  • Cant access my Docker DotNet core website
  • Using MongoDB Docker on .NET Core
  • Calling IdentityServer4 from application behind a HAProxy LoadBalancer
  • Benefits of deploying .NET Core App as a Dockerized Container?
  • Creating a CI pipeline for .net containerized applications
  • VS 2017 Add > Docker Support breaks build - “CleanWorkspace” task failed unexpectedly (console app)
  • How to enable the Docker Remote API on Windows
  • Docker: Nginx & PHP Container: no such file or directory
  • Windows authentication of an application hosted in Windows Container
  • I have working with dockerfile to build and image and it build and run successfully but tomcat is not up
  • Fig support on Boot2Docker / Windows platform
  • boot2docker vm forgets changes when restarted
  • One Solution collect form web for “Can I publish a .Net application which is not ASP.NET 5 or ASP.NET Core in Docker containers?”

    Yes, you can publish other .NET applications based on either the full .NET framework (build your container images on the https://hub.docker.com/r/microsoft/dotnet-framework/ base image) or the .NET Core framework (build your images on the https://hub.docker.com/r/microsoft/dotnet/ as a base).

    Remember that docker hosts services, so you wouldn’t publish a Windows client like this, but background processes which typically run on a server.

    So in theory you could convert your Windows services built on the full .NET Framework to be processes running in Docker containers. They would not run as Windows services, but rather they would be stopped, started and managed using Docker. If you are accessing other services – message queues, WCF etc, you may need to open ports into/out of your containers for them to talk to each other.

    Depending on your situation, there may be benefits to doing this, but you should look carefully at whether it’s the right direction for you.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.