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
<PackageReference Include="Autofac.SignalR2" Version="6.1.0" />
paket add Autofac.SignalR2 --version 6.1.0
#r "nuget: Autofac.SignalR2, 6.1.0"
// 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.
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- Autofac (>= 6.5.0)
- Microsoft.AspNet.SignalR.Core (>= 2.4.3)
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
|
Release notes are at https://github.com/autofac/Autofac.SignalR/releases