我想在运行时创建新的路由。有没有办法在运行时添加MapHubs?
MapHubs
谢谢
我向SignalR Core开发人员提出了这个问题,目前还不可能:
How to create Hub and new route at run-time using Roslyn scripting?
我们目前没有任何内置支持动态发现集线器。 Hub在启动时被发现并加载到DI容器中。