JsonResult vs JsonSerializer.SerializeAsync?

This page summarizes the projects mentioned and recommended in the original post on /r/dotnet

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ASP.NET Core

    ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

    https://github.com/dotnet/aspnetcore/blob/main/src/Mvc/Mvc.Core/src/JsonResult.cs is probably what you want for Asp.NET Core source.

  • AspNetWebStack

    ASP.NET MVC 5.x, Web API 2.x, and Web Pages 3.x (not ASP.NET Core)

    https://github.com/aspnet/AspNetWebStack/blob/main/src/System.Web.Mvc/JsonResult.cs Looking at the code I can see JsonResult responds synchronously. Am I looking at the wrong code?

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts