v3.1.0
This release occurred prior to switching Autofac components to separate repositories.
- Added a
RegisterHubsextension method for scanning based registration of hubs. - Changed the Autofac.Integration.SignalR project to target .NET 4.0 instead of .NET 4.5.
- The
RegisterHubsextension method now registers hubs asExternallyOwned. There is no way to create a lifetime scope around hub invocations and we don't want the Disposer on the root lifetime scope holding onto instances. - Removed the
IRegistrationSourcefor the SignalR dependency resolver so that registrations are not automatically created for the default services. This is because of a bug in the SignalR message bus blocking indefinitely when Dispose is called twice (discovered in self-hosting scenario). It is still possible to manually add registrations to replace the default services.