Ndjson.AsyncStreams is a solution for working with asynchronous streaming data sources over HTTP using NDJSON (Newline Delimited JSON).
The documentation is available here.
There is a demo project available here.
There are blog posts available which describe implementation details:
- Fetch API, Streams API, NDJSON, and ASP.NET Core MVC
- Consuming JSON Objects Stream (NDJSON) With HttpClient
- Streaming JSON Objects (NDJSON) With HttpClient
- Receiving JSON Objects Stream (NDJSON) in ASP.NET Core MVC
- ASP.NET Core 6 and IAsyncEnumerable - Async Streamed JSON vs NDJSON
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 © 2021 - 2024 Tomasz Pęczek
Licensed under the MIT License