locked
Seperate Hubs to a different assembly RRS feed

  • Question

  • User-1446191140 posted

    Hi All,

    I was wondering if there's a way to separate my hubs into a different DLL than my self host assembly (window service in my case)

    I've seen this post on Stackoverflow, and my questions are:

    1. Is there any official way to do it? 

    2. Is it considered bad practice? 

    Monday, February 22, 2016 10:22 AM

All replies

  • User61956409 posted

    Hi ofir.y,

    This application shows how to use a self-hosted SignalR server in a Windows Service, you could refer to it.

    https://code.msdn.microsoft.com/windowsapps/SignalR-self-hosted-in-6ff7e6c3

    Best Regards,

    Fei Han

    Tuesday, February 23, 2016 2:26 AM
  • User-1446191140 posted

    Hi mate, it's not what I asked.

    I'm familiar with the example and I've already self hosted SignalR on a window service successfully. my question is simply:

    "if there's a way to separate my hubs into a different DLL than my self host assembly?"

    Tuesday, February 23, 2016 7:38 AM