Skip to content

CoreWCF 0.2.0

Compare
Choose a tag to compare
@mconnew mconnew released this 29 Jul 23:25
· 336 commits to main since this release

Release Notes

Package Info

CoreWCF.Primitives 0.2.0
CoreWCF.Http 0.2.0
CoreWCF.NetTcp 0.2.0

.NET Compatibility

This release depends on .NET Standard 2.0 and runs on any .NET version which supports .NET Standard 2.0. This means.NET Framework 4.6.1 and above and .NET Core 2.1 and above. It is built on top of ASP.NET Core 2.1, and has been tested and runs on all currently supported versions of ASP.NET Core up to 5.0.

Features

The following features are new to CoreWCF 0.2.0

  • Support for .NET 5.0 (@mconnew)
  • Enable role based authorization via new AuthorizeRoleAttribute (@birojnayak)
  • Enable Windows Authentication for NetTcp on Linux with ldap group/role lookup support (@birojnayak)
  • Added support for SecurityMode.TransportWithMessageCredentials to NetTcp and BasicHttpBinding (@birojnayak)
  • New overloads to UseNetTcp to enable specifying listeing IPAddress (@ovebastiansen)
  • Made MessageParameterAttribute public and added compatibility for System.ServiceModel equivalent (@g7ed6e)
  • Exposed the BasicHttpBinding.Security property (@josellm)
  • Enabled injecting ServiceBehaviorAttribute via DI (@mconnew)

Bug Fixes

  • Fixed race condition in ChannelHandler which caused some requests to stall (@BradBarnich)
  • Fixed hosting in HTTP.SYS (http only) and IIS (@mconnew)
  • Fixed calling Dispose on an IDisposable DI injected Singleton when using InstanceContextMode.Single (@mconnew)

Known Issues

  • Duplex contracts aren't yet working
  • HTTPS doesn't work when using HTTP.SYS as we need to add BasicHttpsBinding to get the working.

Documentation

The documentation is still being worked on. Most classes which exist in .NET Framework under the System.ServiceModel namespace should have the same behavior in CoreWCF. Until we have documentation published, please refer to the .NET Framework WCF documentation.

Samples

You can find samples for some common scenarios in the Samples folder of the repo. For this release we have some new sample scenarios and the samples have been cleaned up a bit thanks to @JohnLeyva.

Contributors

Major Contributors in order of contribution (500+ lines of code added):
@birojnayak (Amazon AWS)
@JohnLeyva
@mconnew (Microsoft)

Other code contributors:
@g7ed6e, @ovebastiansen, @Grauenwolf, @josellm, @BradBarnich

Feedback

Your feedback is important and appreciated. We've created a discussion item at #390 for your questions and comments.