-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
[Discussion] UseSignalR and UseConnections are marked obsolete #10754
Comments
I haven't looked at the code yet, sorry if this is a dumb question. So |
@VictorioBerra yes, there's also MapController extension method for mvc |
What is you're not using MVC, instead you're using Web API... What's the implementation for SignalR that is replacing the obsolete UseSignalR() method? |
The code above is the same. PS: MVC is the same thing as Web API in ASP.NET Core. It's a single framework. |
Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog clean. If you believe there is a concern related to the ASP.NET Core framework, which hasn't been addressed yet, please file a new issue. This issue will be locked after 30 more days of inactivity. If you still wish to discuss this subject after then, please create a new issue! |
The methods
UseConnections
andUseSignalR
, and the classesConnectionsRouteBuilder
andHubRouteBuilder
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:
New code:
This is the discussion issue for aspnet/Announcements#362.
The text was updated successfully, but these errors were encountered: