WCF for .NET Core 2.1
Release Notes
This is part of .NET Core 2.1.0 released on 5/30/2018 (Release Notes)
Packages
- System.ServiceModel.Duplex 4.5.0
- System.ServiceModel.Http 4.5.0
- System.ServiceModel.NetTcp 4.5.0
- System.ServiceModel.Primitives 4.5.0
- System.ServiceModel.Security 4.5.0
What's New
- Added extensibility to provide custom HttpMessageHandler in HttpChannelFactory (#2400).
- Added support for the custom proxy address for Http & Https bindings on Linux OSes and macOS in addition to Windows (#1592).
- Added the shim of System.ServiceModel.dll in System.ServiceModel.Primitives package so assemblies compiled against .NET Framework can run on .NET Core (dotnet/standard#575).
- Added support for portable runtime identifier: win (#2349).
- Added support for the control of making a persistent connection to a service endpoint (#2389).
- Added support to use the new HttpClientHandler’s support of 100-Continue for authenticated scenarios to improve performance, and avoid a potential race condition deadlock when using client certificates. (#2753)
- Fixed the issue that the networking stack may time out a request after 30 seconds (#2368).
- Added support for
MessageVersion.Soap12WSAddressingAugust2004
(#2096). - Added
IDisposable
support toClientBase<TChannel>
(#2022). - Included System.ServiceModel.ChannelTerminatedException to public interface (#1962).
- Added support for BasicHttpSecurity to contain a constructor that takes 0 arguments (#2365).
- Added support for ClientBase<TChannel>.Close() (#2282).
- Enabled WCF NuGet package signing to be compliant with the new nuget.org standard. (#2749)
WCF dotnet-svcutil tool
The WCF dotnet-svcutil tool is a .NET Core CLI tool that retrieves metadata from a web service on a network location or from a WSDL file, and generates a WCF class containing client proxy methods that you can use to access the web service operations. A preview dotnet-svcutil tool was released recently, which can run across Windows, Linux and macOS platforms.
WCF Web Service Reference Provider
The WCF Web Service Reference Provider is a Visual Studio connected service extension that retrieves metadata from a web service in the current solution, on a network location, or from a WSDL file, and generates a .NET Core compatible source file containing Windows Communication Foundation (WCF) client proxy code that can be used to access the web service. This tool was first integrated into Visual Studio 2017 v15.5.
Known Issues
Please see this known issue list.
Note, the enhancement for UWP will be in a separate release. The UWP support in this release is the same as the support in 2.0 release.