You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
For our public services like IUserIdProvider,IHubActivator, HubLifetimeManager, and IHubProtocolResolver we should be using TryAddSingleton so that if a user adds the service before calling AddSignalR we don't override their setting.
For our public services like
IUserIdProvider
,IHubActivator
,HubLifetimeManager
, andIHubProtocolResolver
we should be usingTryAddSingleton
so that if a user adds the service before callingAddSignalR
we don't override their setting.SignalR/src/Microsoft.AspNetCore.SignalR.Core/SignalRDependencyInjectionExtensions.cs
Lines 23 to 30 in 948ebf3
@davidfowl Did we have a reason for using
AddSingleton
or did we just forget?Technically this would be a breaking change, but in a good, probably acceptable, way.
The text was updated successfully, but these errors were encountered: