Skip to content

Can't find Connection.GetConnection<MyEndPoint>() #180

mikecomstock opened this Issue Feb 7, 2012 · 1 comment

1 participant


I'm trying to send a message to a PersistentConnection from an MVC action (in the action method within a controller) but I'm not sure how to find the connection. The docs at say to use Connection.GetConnection() but that method doesn't seem to be available.

I'm using the SignalR nuget package, v 0.4.0.

Any ideas?


Fixed in the documentation:

IConnectionManager connectonManager = AspNetHost.DependencyResolver.Resolve<IConnectionManager>();
IConnection connection = connectonManager.GetConnection<MyEndPoint>();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.