Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am upgrading my .NET solution from 4.5 to 6.0. I have multiple projects in one solution. One project which has domain classes is upgraded to 6.0 which is consuming WCF services which is another project. WCF service project is still in 4.5 version. I am not able to figure it out, how will I upgrade WCF project to 6.0. Or another way I could think of is, can I call WCF service which is in 4.5 from model project which is in 6.0. Is upward compatibility possible in .NET. Any guidance/ alternate approach would be really helpful. Thanks in advance.

What I have tried:

I am trying to consume WCF services in model project but its not working so far and facing issues.
Posted
Updated 1-Mar-22 21:53pm

1 solution

If you want to migrate a WCF project to .NET 6, you will need to use the .NET port of WCF:
GitHub - CoreWCF/CoreWCF: Main repository for the Core WCF project[^]

Otherwise, you can migrate it to gRPC:
Why migrate WCF to ASP.NET Core gRPC | Microsoft Docs[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900