MIgration from .NET framework 4.8 to .NET framework 6

Prasanna Rajaraman 1 Reputation point

We have custom applications built on .NET framework 4.8 and these have WCF services as well.

What are the things we need to do to migrate to .NET framework 6? Is there any documentation to help us achieve this seamlessly?

What are the things we need to keep in mind for this migration?

.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,075 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 79,821 Reputation points

    .NET 6 is not .NET Framework, it is .NET Core
    You can see : Overview of porting from .NET Framework to .NET

    0 comments No comments

  2. Bruce (SqlWork.com) 48,481 Reputation points

    WCF may be one of your issues. While there is limited WCF client support in core, there is no server support. You should migrate to another technology. Microsoft recommends gRpc, or you can switch to REST (webapi).

    you should also check if there are net core, or .netstandard 2.0+ versions for the NuGet packages you use.

    the migration approach I often use, is to convert all library projects to .netstandard 2.0 first. This makes them compatible with .net 6, but keeps you to one code base during the conversion. then just the main project needs converting at the end.

    0 comments No comments