Windows 10中的自主机SignalR [英] Self Host SignalR in windows 10
问题描述
您好,iam正在制作一个我已经完成了UI部分并且目前是asp.net MVC项目的应用程序.为此,我使用本地IIS进行调试.我们正在使用的项目的一部分将信号器用于连接到运行该应用程序的系统的设备.
Hi iam making an app for which i have already completed the UI part and is currently a asp.net MVC project. for which i use the local IIS to debug. A part of the project that we are using uses signalr for device that connect to the system running the app.
Windows 10 PRO上的本地IIS将最大连接数限制为10.这是我们无法避免的.
Local IIS on windows 10 PRO limits the max connection to 10. Which is not something we can do away with.
似乎有希望的解决方案是使SignalR自托管. 如链接所示 https://github.com/aspnet/KestrelHttpServer/issues/435
The solution that seems promising is to make a signalR self host. as the link states here https://github.com/aspnet/KestrelHttpServer/issues/435
如果应用未使用内置IIS的任何部分,则没有最大连接限制.
if the app is not using any part of the inbuilt IIS then there is no limit of the maximum connection.
即时通讯面临的问题是与它相关的任何地方都没有可用的帮助.并且我想确定在开始使用signalR self host之前,它可以在运行Windows 10 Home/Pro的系统上保持的最大连接数.
The problem that im facing is that there is not help available anywhere related to it. and i want to be sure before getting to start with signalR self host about the maximum connections that it will be able to hold on a system running windows 10 Home / Pro.
推荐答案
因此,没有可用的帮助.我将应用程序转换为SignalR Self Host并进行了测试.即使在Windows 10家庭版上,似乎也没有连接限制.因此系统运行正常.
@Lex Li我认为您应该使用Windows 10再次进行测试.
因此得出的结论是,IIS实际上是最大连接限制的元凶.
So without the available help. I converted my application to SignalR Self Host and tested it. ANd seems there is no Connection Limit even on Windows 10 Home version. So the system is working fine.
@Lex Li i think you should test again with windows 10.
So the conclusion is that IIS is actually the culprit for the max connection limit.
这篇关于Windows 10中的自主机SignalR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!