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 configuration and basic usage patterns are described here.
The demo project is available on GitHub.
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
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 buying me a coffee.