We have pushed some minor updates to the core Autofac package and a few of the integration packages to NuGet. There is a mix of enhancements and bug fixes across the different packages. You can find all the details below.
MetadataViewProvideris captured in the closure created for the delegate registration instead of being created on each invocation.
RegisterHubsextension method for scanning based registration of hubs.
RegisterHubsextension method now registers hubs as
ExternallyOwned. 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.
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.
IAutofacActionFiltercauses each filter to execute multiple times. Filter wrappers are now only added once per ControllerType, FilterScope and MethodInfo combination.