NET 4.5 WCF 功能:HTTPS

NET 4.5 WCF Features: HTTPS

新功能之一:

 New HTTPS protocol mapping to make it easier to expose an 
 endpoint over HTTPS with Internet Information Services (IIS).

这是否意味着我不再需要为服务添加 https enpoint?

现在我使用 NET 3.5。如果客户想通过 https 工作,安装程序会检查 IIS 设置并将此端点添加到 web.config,即

http://myhost.com/mysvc.svc
https://myhost.com/mysvc.svc

如果我没理解错,在 NET 4.5 中一个地址就够了

http://myhost.com/mysvc.svc

用于 httphttps

是否正确?

根据以下网站; "In WCF 4.5, if IIS is enabled for SSL and if the service does not have any explicit endpoint defined for the specific binding, then WCF can be hosted on IIS with default HTTPs enabled i.e. ‘basicHttpsBinding’."

有关详细信息和示例,请参阅以下链接: http://www.dotnetcurry.com/showarticle.aspx?ID=866
http://johnlnelson.com/tag/wcf-4-5/