SignalR and HTTPS

2019-01-25 04:06发布

问题:

does signalr works with HTTPS ?

I have a site on ssl and I want to use SignalR Is It possible ?

If so, Do I need to write something different / add configuration ?

回答1:

Yes it does! If you're talking about self host: http://blogs.msdn.com/b/jpsanders/archive/2009/09/29/walkthrough-using-httplistener-as-an-ssl-simple-server.aspx

If you're using IIS: http://www.iis.net/learn/manage/configuring-security/how-to-set-up-ssl-on-iis

SSL is a host concern, not really related to SignalR.



标签: https signalr