Skip to main content

Steve Gordon – Code with Steve

  • About Me
  • Contact
  • Subscribe

Creating, Inspecting and Decompiling the World’s (Nearly) Smallest C# Program

15th June 202215th June 2022 Steve Gordon Leave a comment

In this post, I thought it might be fun to create the world’s (nearly) shortest C# program and then deep dive into some of the fine details of what happens behind the scenes. This post is not intended to solve a real-world problem but I hope it’s well worth your time spent reading it. By […]

Read More

Using the Roslyn APIs to Analyse a .NET Solution

13th April 202213th April 2022 Steve Gordon Leave a comment

In this post, I demonstrate how to analyse a .NET solution using the Roslyn APIs and aMsBuildWorkspace.

Read More

Custom JSON Serialisation with System.Text.Json Converters

11th December 202113th December 2021 Steve Gordon Leave a comment

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 202116th August 2021 Steve Gordon Leave a comment

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

How Does the StringBuilder Work in .NET? (Part 3)

28th July 202116th August 2021 Steve Gordon Leave a comment

Part Three:  How Appending Works and the StringBuilder Expands So far in this series, we’ve learned when we should consider using StringBuilder in our code and learned about the memory overhead of using a StringBuilder. It’s now time to learn how the StringBuilder can “expand” its capacity and support appending string data efficiently. As with […]

Read More

Posts navigation

Newer posts 1 2 3 … 34 Older posts

Pluralsight Courses


  • Creating Background Services in ASP.NET Core 6 and .NET 6
  • 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

  • Profiling Memory Allocations on Linux using the JetBrains dotMemory Command-Line Profiler
  • Automating Memory Profiling with the JetBrains dotMemory Profiler API
  • Introducing the new IHostedLifecycleService Interface in .NET 8
  • Concurrent Hosted Service Start and Stop in .NET 8
  • Accessing State in System.Text.Json Custom Converters

.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