Closed jcyuan closed 6 years ago
for the situation if my subclass inherits from WebSocketHandler does not exist in the entry assembly. so I can setup in the startup.cs like this: services.AddWebSocketManager(Assembly.GetAssembly(typeof(NotifierHub)));
services.AddWebSocketManager(Assembly.GetAssembly(typeof(NotifierHub)));
for the situation if my subclass inherits from WebSocketHandler does not exist in the entry assembly. so I can setup in the startup.cs like this:
services.AddWebSocketManager(Assembly.GetAssembly(typeof(NotifierHub)));