Lib.AspNetCore.ServerSentEvents is a library which provides Server-Sent Events (SSE) support for ASP.NET Core.
You can install Lib.AspNetCore.ServerSentEvents from NuGet.
PM> Install-Package Lib.AspNetCore.ServerSentEvents
The documentation is available here.
There is a demo project available here.
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
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 © 2017 - 2024 Tomasz Pęczek
Licensed under the MIT License