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
精彩评论