Yes! The good news is, consuming WCF services remains fully supported in .NET 8, building on the foundation established in .NET Core. You can reference WCF libraries directly and interact with existing WCF services seamlessly.
But wait, there's more:
The original limitations around WCF service configuration and authentication still apply, although some additional options have emerged:
IServiceBehavior
, custom IEndpointBehavior
implementations, or builder configurations offered by CoreWCF (discussed later).Moving forward:
While gRPC remains a recommended alternative for new projects, migrating existing WCF services might not be the top priority. CoreWCF, an open-source project, actively maintains and improves WCF for .NET, including features like gRPC interoperability. This ongoing development makes WCF a viable option for the foreseeable future.
Resources:
Remember:
This content focuses on consuming WCF services in NET 8. Hosting WCF services within ASP.NET Core applications remains unsupported in .NET 8.
I hope this updated version provides a clearer picture of using WCF in the context of .NET 8. Please let me know if you have any questions!