-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for message inspectors in the callback channel #4607
Comments
@imcarolwang can you please work on this implementation at your earliest convenience? |
Having access to Is there any workaround to using |
@tapizquent, there is a hideous workaround. You can create your own custom bindingelement and insert it in the channel stack at the top. It would see every message coming in and every message going out, including client initiated requests. An IDispatchMessageInspector is a lot easier as it only gets called for callback methods. We're going to add this for the .NET 6 release timeframe, but you can keep using it on your current version of .NET that you are using as WCF doesn't depend on the latest .NET release. |
This will be available in RC2 |
@mconnew is there a merged PR we can link this to? |
The PR was #4699 |
Thanks! |
Describe the bug
.NET Core version of WCF is missing CallbackDispatchRuntime.MessageInspectors API on ClientRuntime class and IDispatchMessageInspector interface.
To Reproduce
In legacy .NET we have following code for logging messages (outgoing and incoming messages from callback channel)
The text was updated successfully, but these errors were encountered: