Lib.AspNetCore.ServerSentEvents
9.1.0
dotnet add package Lib.AspNetCore.ServerSentEvents --version 9.1.0
NuGet\Install-Package Lib.AspNetCore.ServerSentEvents -Version 9.1.0
<PackageReference Include="Lib.AspNetCore.ServerSentEvents" Version="9.1.0" />
<PackageVersion Include="Lib.AspNetCore.ServerSentEvents" Version="9.1.0" />
<PackageReference Include="Lib.AspNetCore.ServerSentEvents" />
paket add Lib.AspNetCore.ServerSentEvents --version 9.1.0
#r "nuget: Lib.AspNetCore.ServerSentEvents, 9.1.0"
#:package Lib.AspNetCore.ServerSentEvents@9.1.0
#addin nuget:?package=Lib.AspNetCore.ServerSentEvents&version=9.1.0
#tool nuget:?package=Lib.AspNetCore.ServerSentEvents&version=9.1.0
Lib.AspNetCore.ServerSentEvents
Lib.AspNetCore.ServerSentEvents is a library which provides Server-Sent Events (SSE) support for ASP.NET Core.
Installing
You can install Lib.AspNetCore.ServerSentEvents from NuGet.
PM> Install-Package Lib.AspNetCore.ServerSentEvents
Documentation
The documentation is available here.
Demos
There is a demo project available here.
Additional Resources
There are some blog posts available which describe implementation details and some interesting scenarios:
- Server-Sent Events (SSE) support for ASP.NET Core
- Server-Sent Events (or WebSockets) broadcasting in load balancing scenario with Redis
- Server-Sent Events and ASP.NET Core - You may need keep alives
- Server-Sent Events and ASP.NET Core - Disconnecting a Client
Consulting and Professional Services
Do you need help with any of my libraries, or with building features on top of what they provide? What about ASP.NET Core architecture, Azure architecture, or DevOps? I offer consulting and development services.
Donating
My blog and open source projects are result of my passion for software development, but they require a fair amount of my personal time. If you got value from any of the content I create, then I would appreciate your support by sponsoring me (either monthly or one-time).
Copyright and License
Copyright © 2017 - 2025 Tomasz Pęczek
Licensed under the MIT License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.1
- Microsoft.AspNetCore.Authorization (>= 2.1.0)
- Microsoft.AspNetCore.Authorization.Policy (>= 2.1.0 && < 3.0.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.1.0 && < 3.0.0)
- Microsoft.Extensions.Caching.Abstractions (>= 2.1.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.1.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 2.1.0)
- Microsoft.Extensions.Options (>= 2.1.0)
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Lib.AspNetCore.ServerSentEvents:
| Repository | Stars |
|---|---|
|
streetwriters/notesnook-sync-server
Sync server for Notesnook (self-hosting in alpha)
|
|
|
drittich/DnsTube
🌐 Access your computer from anywhere. DnsTube is a Windows dynamic DNS client for Cloudflare-managed domains.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 9.1.0 | 208 | 12/6/2025 |
| 9.0.0 | 219,683 | 12/25/2023 |
| 8.3.1 | 39,276 | 10/13/2023 |
| 8.3.0 | 4,566 | 9/25/2023 |
| 8.2.0 | 160,420 | 10/31/2022 |
| 8.1.0 | 228,174 | 2/28/2022 |
| 8.0.0 | 6,382 | 2/5/2022 |
| 7.0.0 | 18,238 | 11/9/2021 |
| 6.0.0 | 372,933 | 11/17/2020 |
| 5.1.0 | 105,237 | 7/11/2020 |
| 5.0.0 | 33,600 | 5/1/2020 |
| 5.0.0-alpha3 | 1,214 | 4/26/2020 |
| 5.0.0-alpha2 | 1,109 | 4/23/2020 |
| 5.0.0-alpha1 | 1,081 | 4/19/2020 |
| 4.1.0 | 10,625 | 3/30/2020 |
| 4.0.0 | 34,757 | 9/23/2019 |
| 4.0.0-preview3 | 1,163 | 9/13/2019 |
| 4.0.0-preview2 | 1,120 | 9/12/2019 |
| 4.0.0-preview | 1,089 | 9/10/2019 |
| 3.3.0 | 2,286 | 8/29/2019 |
| 3.2.0 | 1,796 | 7/30/2019 |
| 3.1.0 | 13,302 | 1/10/2019 |
| 3.0.0 | 2,463 | 10/24/2018 |
| 2.0.0 | 2,228 | 7/30/2018 |
| 1.3.0 | 2,720 | 4/16/2018 |
| 1.2.0 | 6,361 | 10/30/2017 |
| 1.1.1 | 2,256 | 10/9/2017 |
| 1.1.0 | 2,406 | 8/3/2017 |
| 1.0.0 | 3,628 | 2/9/2017 |