开发者

WCF, GET and HTTPS

开发者 https://www.devze.com 2023-01-27 21:58 出处:网络
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.

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

精彩评论

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