How to run .Net Framework Console application on Linux server

Prabs 1 Reputation point
2021-03-29T06:05:07.483+00:00

Hi All,
We have a Console application. We are currently using .Net Framework 4.5. We need to run this application on a Linux machine. We are currently considering migrating the .Net Framework to .Net Core.

Please let us know if there any other approach to achieve this task or if we can continue with .Net Core.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,234 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,119 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 81,636 Reputation points
    2021-03-29T06:32:20.25+00:00

    This article (a bit old but still accurate) confirms that .NET Core should be the best choice

    There are other articles/samples like : .NET Core with a Linux server: Hello World!

    0 comments No comments

  2. Prabs 1 Reputation point
    2021-03-29T09:06:08.587+00:00

    Hi,
    What is the different between .Net Core 3.1 and .Net 5?
    Which version we can go for development?