SignalR Javascript Client Error: Dynamic file not generated
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Here is the screenshot of runtime project that contains signalR. There is no hubs file generated. I am getting the most common javascript error That is also shown in picture. I searched and found many solutions but nothing seems to work. like changing reference src and etc. Here is how I am referencing the script files. <script src="Scripts/jquery-3.3.1.min.js"></script> <!--Reference the SignalR library. --> <script src="Scripts/jquery.signalR-2.2.2.min.js"></script> <!--Reference the autogenerated SignalR hub script. --> <script src='<%: