AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

SignalR: Accessing the hub routing table

Open zanate4019 opened this issue 8 years ago • 9 comments

Is there a way to access the hub routing table after it's been configured?

zanate4019 avatar Nov 26 '18 22:11 zanate4019

@zanate4019 what's the scenario where you need to do so?

Rick-Anderson avatar Nov 28 '18 01:11 Rick-Anderson

The main reason is because I'd like to drop the urls in javascript variables in my mvc template using razor. This will allow my front-end SPA to always know the address of my SignalR endpoints even if the routing changes and only have to configure it in one place (startup.cs).

Here's some psuedo code for what I'm talking about: `

Owner


Other Repo Issues