https://github.com/tpeczek/demo.aspnetcore.serversentevents
Demo project for demonstrating functionality of Lib.AspNetCore.ServerSentEvents
https://github.com/tpeczek/demo.aspnetcore.serversentevents
asp-net-core server-sent-events sse
Last synced: 2 months ago
JSON representation
Demo project for demonstrating functionality of Lib.AspNetCore.ServerSentEvents
- Host: GitHub
- URL: https://github.com/tpeczek/demo.aspnetcore.serversentevents
- Owner: tpeczek
- License: mit
- Created: 2017-02-09T10:01:53.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T14:53:34.000Z (5 months ago)
- Last Synced: 2025-03-30T14:11:12.320Z (2 months ago)
- Topics: asp-net-core, server-sent-events, sse
- Language: C#
- Size: 34.2 KB
- Stars: 89
- Watchers: 9
- Forks: 26
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Demo.AspNetCore.ServerSentEvents
Application for demonstrating functionality of [Lib.AspNetCore.ServerSentEvents](https://github.com/tpeczek/Lib.AspNetCore.ServerSentEvents).
The application exposes two SSE endpoints:
* `/see-heartbeat` which can be "listened" by navigating to `/sse-heartbeat-receiver.html`. It sends an event every 5s and is implemented through an ugly background thread.
* `/sse-notifications` which can be "listened" by navigating to `/notifications/sse-notifications-receiver`. Sending events to this endpoint can be done by navigating to `/notifications/sse-notifications-sender`.## 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](https://github.com/sponsors/tpeczek) (either monthly or one-time).
## Copyright and License
Copyright © 2017 - 2025 Tomasz Pęczek
Licensed under the [MIT License](https://github.com/tpeczek/Demo.AspNetCore.ServerSentEvents/blob/master/LICENSE.md)