开发者

WCF, GET and HTTPS

I have an WCF REST service with only GET access. I'd like to make it obligatory to use SSL only 开发者_StackOverflow中文版on several of the service functions.

How can this be accomplished?

Thanks!


Intermixing HTTP and HTTPS on the same svc file isn't possible. You need to have an svc file that only talks HTTPS and one that talks HTTP. From my experience trying to get a specific WCF svc to respond in a mixed manner has been impossible.


You need make bindings with using HTTPS protocol + use SSL certificate on IIS

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜