Coder Social home page Coder Social logo

tpeczek / lib.aspnetcore.mvc.ndjson Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 1.0 35 KB

Lib.AspNetCore.Mvc.Ndjson is a library that provides support for NDJSON (Newline Delimited JSON) based structured data streaming to ASP.NET Core MVC

License: MIT License

C# 100.00%
asp-net-core asp-net-core-mvc ndjson ndjson-stream

lib.aspnetcore.mvc.ndjson's Introduction

Hi there 👋, I'm Tomasz Pęczek

Staff+ Engineer • Cloud Solutions Architect & Consultant • Technical Blogger & Speaker • Microsoft MVP


Main Personal Tech Stack

.NET Azure Jamstack HTML5 JavaScript


Connect With Me

Blog Twitter Mastodon LinkedIn YouTube Stack Overflow

lib.aspnetcore.mvc.ndjson's People

Contributors

tpeczek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lib.aspnetcore.mvc.ndjson's Issues

INdjsonWriter.WriteAsync should implement cancellation instruction

I.e
INdjsonWriter interface:
Task WriteAsync(object value, CancellationToken cancellationToken = default);

Implemantation example:
await JsonSerializer.SerializeAsync(_writeStream, value, valueType, _jsonSerializerOptions, cancellationToken: cancellationToken);
await _writeStream.WriteAsync(_newlineDelimiter, cancellationToken: cancellationToken);
await _writeStream.FlushAsync(cancellationToken, cancellationToken: cancellationToken);

.net core post with x-ndjson type error

Hi. Could you please provide example how to send post request with that type?
I dont need to parse response, only send request. I created correct request, but HttpClient response 400 or 406.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.