SignalR and HTTPS

后端 未结 1 571
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-18 19:35

Does SignalR work 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条回答
  • 2020-12-18 20:23

    Yes it does! If you're talking about self host: https://docs.microsoft.com/en-us/archive/blogs/jpsanders/how-to-walkthrough-using-httplistener-or-http-server-unmanaged-code-c-as-an-ssl-simple-server

    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.

    0 讨论(0)
提交回复
热议问题