Share via

New project development - .NET core version to use?

Kodavana 1 Reputation point
2021-11-21T08:45:07.33+00:00

Hello,

Need advice on which version of .NET core should a new development project target.

We are about to start a new web application development. We recently completed a proof-of-concept based on .NET Core 3.1. We would now like to productize the prototype. Since .NET 6 with LTS was released very recently, I am wondering if we should base our product on the newer version of .NET or stick to 3.1/5.0?

If the suggestion is to use .NET 6, what are the things to consider while migrating the 3.1 prototype to .NET 6.

Developer technologies | .NET | .NET Runtime

2 answers

Sort by: Most helpful
  1. Jiachen Li-MSFT 34,241 Reputation points Microsoft External Staff
    2021-12-08T02:10:06.67+00:00

    Hi @Kodavana ,
    It is recommended to use .NET 6.
    .NET 6 has better performance and can be supported for three years.
    You can find what’s new in a variety of scenarios in the blog below.
    Announcing .NET 6 — The Fastest .NET Yet
    In addition, please make sure that the resources used in your prototype are compatible with .NET 6.
    Best Regards.
    Jiachen Li

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. Ken Tucker 5,866 Reputation points
    2021-11-21T10:09:23.277+00:00

    .net core 3.1 is supported until Dec 3, 2022. .net 5 is supported until May 8, 2022. So based on support dates I would recommend going with .net 6.

    Here is a list of breaking changes in .net 6

    https://learn.microsoft.com/en-us/dotnet/core/compatibility/6.0

    Of course you should look and make sure any nuget packages your prototype uses does not have any compatibility issues with .net 6

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.