-
Notifications
You must be signed in to change notification settings - Fork 558
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
Support security mode TransportWithMessageCredential #8
Comments
Currently cannot move our Windows 8.1 store application to Windows 10 because this is not implemented. |
Is there any progress related with this topic, Please i need it to work in it. |
Just got burned by this one too. |
getting burned by lack of |
This is currently still blocked by the lack of message security feature. |
I need this too! |
They are still going to target NetStandard2, this is however what is holding us to full framework. |
Any news wether this is on the short term roadmap? |
Any update on the status of fixing this? |
This has been an issue now for 2 and a half years, why is this basic functionality still not supported? |
I ended up sidestepping WCF altogether to solve this: https://stackoverflow.com/a/48818293 |
@mconnew In which release of .net core 3.0 will these changes that you have made be available? I have tried with .net core 3 preview 5 but i still get: |
@AliNazar1991, I have a PR open right now with changes to implement it for NetTcp. We have a deadlock somewhere in the new codebase that is only showing up on our test infrastructure that I need to resolve before I can merge. But if you want to clone that PR locally and build it, it should work. The deadlock is only related to using a non-default synchronization context, and specifically xunit won't complete the test unless all operations going through the sync context that are started are also completed. If that doesn't mean anything to you, don't worry. It's an edge case that needs to be fixed before RTM but won't affect 99.999% of people. If you are just looking for timing, I would expect it to be in the next preview release. |
I can see secure wsHttpBinding with TransportWithMessageCredential is on the way to .Net Core 3.0. Will there also be support for consuming WCF services having wsHttpContextBinding in .Net Core 3.0? If service Web.config has endpoint such as:
With binding:
|
|
@mconnew I don't use Workflow. Thanks for this clarification. The project is part of some legacy code and I suspect |
NetTcp, BasicHttp and WSHttpBinding now support TransportWithMessageCredential checked in to master. I would appreciate if anyone needing this feature could try it out for their scenario as it would be best to know what sub-features people need that aren't there sooner rather than later. |
@mconnew Will TransportWithMessageCredential be available in .net core 2? |
We are not moving our dependencies forward to require .NET Core 3.0 as there are no new api's that we need. If you want to stay on .NET Core 2, because of changes to HttpClient, I would recommend using .NET Core 2.2. We still only require netstandard 2.0 so we should still work back to .NET Core 2.0 but there's some behavior differences with HTTP client certificate authentication which might cause you problems if you are using client certs. In earlier releases we have a best effort mitigation because of lack of Continue-100 support in earlier versions of .NET Core which we've now removed. It's only a possible, so you might be fine. If you aren't using client certs, it just becomes a performance issue. |
@mconnew Any feedback on @crodeheaver question about supporting |
@CumpsD, we're in the process of adding support for WS-Federation. We're waiting on another team to provide an implementation of a WS-Trust client which can get the federation token to then communicate with the server. That's then used by WSHttpBinding to communicate with the server. I took a look at WS2007FederationHttpBinding to see how it's different than WSFederationHttpBinding and the difference is that it uses WS2007HttpBinding which we don't have as a specific binding. I checked the protocols used by WS2007HttpBinding and it looks like we probably have most if not all the implementation required to implement it. Can you open an issue specifically for WS2007FederationHttpBinding? |
Thanks for the quick follow up @mconnew! I've gone ahead and opened a new issue to track it. I'll let it up to you to properly label it according to the repo's standards. |
Hi, I'm trying to connect to a WCF service which has the below settings:
My API is in .net core 2.2. I'm not seeing Default as the algorithm suite. Is this not supported? If so, is there a workaround? Thanks, |
I'm not 100% sure on your specific use case, but for some potential workarounds, see some of the hidden comments on this thread. There are options for code configuration/massaging of the raw requests. |
I was able to get this working. I added |
Whenever it's time for you to migrate - it looks like your problem may be fixed in 3.0? |
Please, see #1257 |
Message level security is not currently supported.
Attempting to use it will throw PlatformNotSupportedException
The text was updated successfully, but these errors were encountered: