Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UseSignalR and UseConnections are marked obsolete #362

BrennanConroy opened this issue Jun 3, 2019 · 0 comments


Copy link

commented Jun 3, 2019

The methods UseConnections and UseSignalR, and the classes ConnectionsRouteBuilder and HubRouteBuilder are being marked obsolete in 3.0. And will be removed in the next major release after that.

The preferred method for using SignalR starting in 3.0 is to use Endpoint Routing. See example below.

Old code:

app.UseSignalR(routes =>

New code:

app.UseEndpoints(endpoints =>

See aspnet/AspNetCore#10754 for discussion.

This announcement has been migrated to dotnet/docs#14928

@BrennanConroy BrennanConroy added this to the 3.0.0 milestone Jun 3, 2019
@aspnet aspnet locked and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
2 participants
You can’t perform that action at this time.