Skip to main content

Steve Gordon – Code with Steve

  • About Me
  • Contact
  • Subscribe

Tag: json

Accessing State in System.Text.Json Custom Converters

18th October 202210th October 2024 Steve Gordon

In this post, I describe several techniques that can provide additional state to custom JsonConverters when using System.Text.Json. While building the new .NET client for Elasticsearch, one of the key objectives I gave myself was to move away from the internal Utf8Json-based serializer used in v7. The obvious choice was to look at redesigning the […]

Read More

Custom JSON Serialisation with System.Text.Json Converters

11th December 202125th January 2024 Steve Gordon

This post is my contribution to the .NET Advent calendar. Make sure you check out the other amazing posts on the lead up to Christmas! At the time of writing, I am deep into work on some significant changes in the Elasticsearch .NET client. One of the changes is moving to System.Text.Json as the default […]

Read More

Playing with System.Text.Json Source Generators

16th August 202125th January 2024 Steve Gordon

In my daily work, I’m becoming quite familiar with the ins and outs of using System.Text.Json. For those unfamiliar with this library, it was released along with .NET Core 3.0 as an in-the-box JSON serialisation library. At its release, System.Text.Json was pretty basic in its feature set, designed primarily for ASP.NET Core scenarios to handle […]

Read More

Sending and Receiving JSON using HttpClient with System.Net.Http.Json Header

Sending and Receiving JSON using HttpClient with System.Net.Http.Json

31st March 202031st March 2020 Steve Gordon Leave a comment

In this post, I will introduce a new library, called System.Net.Http.Json, which has been added to .NET in the last few days. We’ll look at the problem which this library helps to solve. We’ll then explore some examples of how to use it in your code today. WARNING: This library is currently available as a pre-release […]

Read More

Pluralsight Courses


  • Creating Background Services in ASP.NET Core and .NET
  • Dependency Injection in ASP.NET Core 6
  • Configuration and Options in ASP.NET Core 6
  • String Manipulation and Regex in C#10
  • String Manipulation in C#: Best Practices
  • Integration Testing ASP.NET Core Applications: Best Practices
  • Implementing Cross-cutting Concerns for ASP.NET Core Microservices

Follow me

  • Twitter
  • Github
  • LinkedIn
  • YouTube
  • Mastodon

Support This Blog

Become a Patron!

Support this blog!Buy me a coffee!

Recent Posts

  • How dotnet.exe resolves and loads the hostfxr library – Exploring the .NET muxer
  • A Brief Introduction to the .NET Muxer (aka dotnet.exe)
  • Implementing ASP.NET Core Automatic Span (Activity) Linking for Internal Redirects with Middleware on .NET 9
  • An Efficient Dictionary for IPAddress Tracking using .NET 9 with AlternateLookup and IAlternateEqualityComparer
  • Receiving GitHub Webhooks When Using the ASP.NET Core Developer Certificate

.NET South East

Please come and join our new .NET User  Group in Brighton, UK.

Categories

Archives

  • Twitter
  • Github
  • LinkedIn
  • YouTube
  • Mastodon
  • Twitter
  • Github
  • LinkedIn
  • YouTube
  • Mastodon
Copyright © Steve Gordon 2019 Theme by Colorlib Powered by WordPress