In the early 2000, there is a term namely web service. Web service in .NET can be developed in various ways. Starting from Web Services through asp.net web services (ASMX), The complete messaging transport through WCF (Windows Communication Foundation), and modern REST approach by using WEB API. Lately, Microsoft provides you a new way to use WCF in simple way. The name is CoreWCF
CoreWCF is a port from WCF that support multiplatform scenario just like WCF. Just like WCF it support SOAP, .NET TCP (a.k.a Remoting) and WSDL. CoreWCF works in .NET Core, .NET Framework, and .NET 5. CoreWCF is an open source that supported by Microsoft, AWS, and others. You can read the release notes here. CoreWCF 1.0 has been Released, WCF for .NET Core and .NET 5+ - .NET Blog (microsoft.com)
CoreWCF is used for people who use WCF and want to port to .NET Core. The good news is the CoreWCF is similar with WCF. The steps are:
- Install the template by using
dotnet new --install CoreWCF.Templates
- Update your Visual Studio