[Breaking change]: WCF Client RC 6.0 RC Release #34909
Labels
breaking-change
Indicates a .NET Core breaking change
📌 seQUESTered
Identifies that an issue has been imported into Quest.
Description
WCF Client 6.0 RC Release.
Previously when using Duplex contract, failure to capture synchronization context on channel factory open. The behavior now matches .NET framework, by default, we will now capture the synchronization context, and will dispatch callbacks to the captured context. To revert to 4.x behavior, apply the
CallbackBehaviorAttribute
with theUseSynchronizationContext
property set tofalse
.Version
Other (please put exact version in description textbox)
Previous behavior
Previously when using Duplex contract, failure to capture synchronization context on channel factory open.
New behavior
The behavior now matches .NET framework, by default, we will now capture the synchronization context, and will dispatch callbacks to the captured context.
Type of breaking change
Reason for change
Bug fix PR . The new behavior now matches .NET framework.
Recommended action
To revert to 4.x behavior, apply the CallbackBehaviorAttribute with the UseSynchronizationContext property set to false.
Feature area
WCF Client
Affected APIs
Associated WorkItem - 86272
The text was updated successfully, but these errors were encountered: