Autofac.SignalR2 6.1.0

Prefix Reserved
dotnet add package Autofac.SignalR2 --version 6.1.0                
NuGet\Install-Package Autofac.SignalR2 -Version 6.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Autofac.SignalR2" Version="6.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Autofac.SignalR2 --version 6.1.0                
#r "nuget: Autofac.SignalR2, 6.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Autofac.SignalR2 as a Cake Addin
#addin nuget:?package=Autofac.SignalR2&version=6.1.0

// Install Autofac.SignalR2 as a Cake Tool
#tool nuget:?package=Autofac.SignalR2&version=6.1.0                

Autofac.SignalR

ASP.NET classic SignalR integration for Autofac.

Build status

Please file issues and pull requests for this package in this repository rather than in the Autofac core repo.

If you're working with ASP.NET Core, you want Autofac.Extensions.DependencyInjection, not this package.

Quick Start

To get Autofac integrated with SignalR you need to reference the SignalR integration NuGet package, register your hubs, and set the dependency resolver.

protected void Application_Start()
{
  var builder = new ContainerBuilder();

  // Register your SignalR hubs.
  builder.RegisterHubs(Assembly.GetExecutingAssembly());

  // Set the dependency resolver to be Autofac.
  var container = builder.Build();
  GlobalHost.DependencyResolver = new AutofacDependencyResolver(container);
}

Check out the Autofac SignalR integration documentation for more information.

Get Help

Need help with Autofac? We have a documentation site as well as API documentation. We're ready to answer your questions on Stack Overflow or check out the discussion forum.

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Autofac.SignalR2:

Package Downloads
Bit.Server.Signalr

Bit.Server.Signalr

OSharp.Autofac.SignalR

OSharp Autofac SignalR组件,提供SignalR的Autofac依赖注入功能的封装

Dapplo.SignalR

Dapplo.SignalR takes care of bootstrapping SignalR, based on Dapplo.Owin

Bit.Signalr

Bit.Signalr

NuGet.Lucene.Web

Provides controllers and WCF Data Services classes that can be exposed in an asp.net application to expose a NuGet.Lucene repository over the web.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Autofac.SignalR2:

Repository Stars
gmf520/osharp-v4
osharp framework with .net framework version 4.x
Version Downloads Last updated
6.1.0 47,191 4/11/2023
6.0.0 281,908 10/4/2020
5.0.0 145,865 2/3/2020
4.0.0 828,420 6/30/2016
4.0.0-beta8-222 1,440 10/29/2015
3.1.0 78,269 8/21/2014
3.0.2 4,541 3/27/2014
3.0.0 21,250 10/24/2013