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
Add an extension method for registration of this class
Add an extension method that allows auto-registration of Hub classes, similar to the RegisterMvcControllers of the ASP.NET Core MVC integration package. i.e. it should register Hub classes based on the selected lifestyle (ILifestyleSelectionBehavior) and should suppress the disposable transient components warning in case the Hub implementation does not override Dispose(bool).
Especially this last point is the main reason why we need an integration package. Integrating SignalR without an integration package would have been trivial in case Hub would not have implemented IDisposable (and it shouln't have).
The text was updated successfully, but these errors were encountered:
See: #232 (comment)
This package should do the following:
SimpleInjectorHubActivator<T>
classRegisterMvcControllers
of the ASP.NET Core MVC integration package. i.e. it should register Hub classes based on the selected lifestyle (ILifestyleSelectionBehavior
) and should suppress the disposable transient components warning in case theHub
implementation does not overrideDispose(bool)
.Especially this last point is the main reason why we need an integration package. Integrating SignalR without an integration package would have been trivial in case
Hub
would not have implementedIDisposable
(and it shouln't have).The text was updated successfully, but these errors were encountered: