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
<PackageReference Include="Eaf.SignalR" Version="9.4.6" />
<PackageVersion Include="Eaf.SignalR" Version="9.4.6" />
<PackageReference Include="Eaf.SignalR" />
paket add Eaf.SignalR --version 9.4.6
#r "nuget: Eaf.SignalR, 9.4.6"
#:package Eaf.SignalR@9.4.6
#addin nuget:?package=Eaf.SignalR&version=9.4.6
#tool nuget:?package=Eaf.SignalR&version=9.4.6
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.SignalR10.5.0Microsoft.AspNetCore.SignalR.StackExchangeRedis10.0.7Abp10.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 | Versions 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. |
-
net10.0
- Abp (>= 10.5.0)
- Abp.AspNetCore.SignalR (>= 10.5.0)
- MessagePack (>= 2.5.301)
- Microsoft.AspNetCore.SignalR.StackExchangeRedis (>= 10.0.7)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.7)
- System.Security.Cryptography.Xml (>= 10.0.10)
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 |