Eaf.SignalR 9.4.6

Prefix Reserved
dotnet add package Eaf.SignalR --version 9.4.6
                    
NuGet\Install-Package Eaf.SignalR -Version 9.4.6
                    
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="Eaf.SignalR" Version="9.4.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Eaf.SignalR" Version="9.4.6" />
                    
Directory.Packages.props
<PackageReference Include="Eaf.SignalR" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Eaf.SignalR --version 9.4.6
                    
#r "nuget: Eaf.SignalR, 9.4.6"
                    
#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.
#:package Eaf.SignalR@9.4.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Eaf.SignalR&version=9.4.6
                    
Install as a Cake Addin
#tool nuget:?package=Eaf.SignalR&version=9.4.6
                    
Install as a Cake Tool

Eaf.SignalR

Módulo de integração SignalR do EAF (Enterprise Application Foundation) para ASP.NET Core.

Descrição

O Eaf.SignalR encapsula a infraestrutura real-time do EAF, reutilizando Abp.AspNetCore.SignalR e adicionando configurações específicas, notificações e gerenciamento de clientes online.

Componentes principais

  • EafSignalRModule — módulo ABP com as dependências e registros do SignalR.
  • EafCommonHub — hub comum do EAF, mapeado em /signalr.
  • EafSignalRRealTimeNotifier — notificador em tempo real via SignalR.
  • EafOnlineClientManager / EafInMemoryOnlineClientStore — gerenciadores de clientes online.
  • AddEafSignalR — extensão para configurar o SignalR com Redis backplane.

Dependências

  • Abp.AspNetCore.SignalR 10.5.0
  • Microsoft.AspNetCore.SignalR.StackExchangeRedis 10.0.7
  • Abp 10.5.0

Instalação

dotnet add package Eaf.SignalR

No módulo Web, substitua AbpAspNetCoreSignalRModule por EafSignalRModule:

[DependsOn(typeof(EafSignalRModule))]
public class MyWebModule : AbpModule { }

E utilize a extensão no Startup:

services.AddEafSignalR(configuration);

Configuração

{
  "EafSignalR": {
    "UseDetailedErrors": null,
    "HandshakeTimeoutSeconds": 30,
    "KeepAliveIntervalSeconds": 30,
    "ClientTimeoutIntervalSeconds": 60,
    "UseRedisBackplane": false,
    "RedisConnectionString": "",
    "RedisDatabase": null
  }
}

Uso

Mapeie o EafCommonHub e o ChatHub no Startup:

app.UseEndpoints(endpoints =>
{
    endpoints.MapHub<EafCommonHub>("/signalr");
    endpoints.MapHub<ChatHub>("/signalr-chat");
});

Testes

dotnet test test/Eaf.SignalR.Tests

Licença

GPL-3.0-or-later

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Eaf.SignalR:

Package Downloads
Eaf.Middleware.Web.Core

Enterprise Application Foundation - Module Middleware - WebCore Classes

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.4.6 112 8/18/2026