https://github.com/crozone/eventsourcedemo
A demo event source server written as an ASP.NET Core MVC 6 application
https://github.com/crozone/eventsourcedemo
Last synced: over 1 year ago
JSON representation
A demo event source server written as an ASP.NET Core MVC 6 application
- Host: GitHub
- URL: https://github.com/crozone/eventsourcedemo
- Owner: crozone
- License: mit
- Created: 2016-08-16T05:01:23.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-16T05:54:51.000Z (almost 10 years ago)
- Last Synced: 2025-01-31T09:31:40.206Z (over 1 year ago)
- Language: C#
- Size: 510 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
# EventSourceDemo
A demo event source server written as an ASP.NET Core MVC 6 application.
The server hosts an event source at the URL `/EventSource`, which pushes down a JSON object containing the current time as a Message, every second.
The Index for the site contains javascript which listens to this eventsource and appends each message as an element to a div tag.