Colleagues, there was a small question about publishing an ASP.NET Core application. I have plans to make a non-complex .NET site. While in the planning stage. During the deliberation, a few questions appeared that could not find a normal answer.

  1. I know that in the Russian-speaking market there are not so many hosting on Windows Server. If I create a site through Core, can I publish it through a server with * nix OS? If so, is this a laborious task?
  2. Is there a way to publish a site through a docker image? If so, where can I find the instructions? (I’ll say right away that I didn’t work with the docer, but I would like to try it, and if the question isn’t put correctly or wrongly, don’t blame me

  3. Is it possible to do something similar through the Azure server? Is it hard to do?

  4. Does hosting depend on PWA support (meaning that my application already implements PWA)?

PS I understand that most likely the question is not the most relevant for this platform, but maybe someone came across)

  • In my opinion, in the official documentation, everything is very clearly described how to deploy a .NET Core application on various platforms. - Gennady P

1 answer 1

  1. Yes, Asp.net Core is a cross-platform framework, and supports deployment on Linux and MacOS instructions from Microsoft

  2. As for the docker, he is also supported by the docker.

  3. Azure is in some way a “native” platform and there too there shouldn't be any difficulties Azur

  4. C PWA also seems to be all the rules, you can read here.

Although the links are specified for version 2.2, but there seems to be no critical changes in terms of deployment.