简体   繁体   English

使用wsDualHttpBinding的WCF是否可以在Https上?

[英]Is it possible for WCF that uses wsDualHttpBinding to be on Https?

I implemented a simple WCF/WPF project to try out the push notification function of WCF . 我实现了一个简单的WCF/WPF项目来试用WCF的推送通知功能。 From searches online, they are mostly implemented via callback and using the binding wsDualHttpBinding . 从在线搜索来看,它们大多是通过回调和使用绑定wsDualHttpBinding

However, when trying to implement this PoC project into my main project. 但是,在尝试将此PoC项目实施到我的主项目中时。 I realise the existing WCF service is using Https and I can't seem to find a way to enable transport security mode for wsDualHttpBinding as compared to the existing wsHttpBinding . 我意识到现有的WCF服务正在使用Https ,与现有的wsHttpBinding相比,我似乎找不到为wsDualHttpBinding启用传输安全模式的wsDualHttpBinding

If the above problem is not solvable, is there another way to implement push notification over Https on WCF ? 如果上述问题无法解决,是否有另一种方法可以在WCF上通过Https实现推送通知?

If we want to use SSL protocol to encrypt our duplex communication, depending on the practical scenario, we could consider the following binding. 如果我们想使用SSL协议加密我们的双工通信,根据实际情况,我们可以考虑以下绑定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM