-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Changing WcfProxy.DefaultBinding or its properties has no effect #739
Comments
@klk103, I like the changes - the code is cleaner the way you have it now. I do wonder if this is a potential breaking change for existing code? Or was this broken in a way that your updates won't break anyone? |
I believe it's the latter. The Core/Xamarin code actually uses the Binding property correctly, which was a BasicHttpBinding before and still is for those builds, and the rest of the builds incorrectly used WsHttpBinding every time, which is now their default. The only scenario I can see this causing issues for is if anyone with a .Net 4.x project was modifying DefaultBinding, or they subclassed WcfProxy and made changes to Binding. That code would currently have no effect, but it would become "active" if this change was made. |
#739 WcfProxy consistently uses DefaultBinding if enabled
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm working on a PowerShell script that uses some of our existing business objects, and connects to a dataportal on our application server the same way that our other applications do, instead of using a local in-process portal.
I can't use the standard app.config approach (because PowerShell), so I thought that configuring the dataportal in the script would look like this (we use transport security instead of message):
But apparently the Binding property that's loaded from DefaultBinding isn't actually used when creating a channel, so the security mode isn't applied to the binding that's ultimately used.
The text was updated successfully, but these errors were encountered: