阅读背景:

ASP。NET Web API在单个服务中同时托管HTTPS和HTTP吗?

来源:互联网 

I have a public self-hosted ASP.NET Web API service that exposes two controllers. One of them I would like to have accessible only via HTTPS, and the other I don't. Can this be done within a single service? If so, can you provide a few hints? It seems like I would need to register two base addresses, but I don't see how that's possible for a single service.I have a public self-hosted ASP.NET Web API ser




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: