← all tags
Jul 17, 2025·5 min read
The Deceptive Simplicity of Polymorphism in .NET APIs
You add one more state to your polymorphic API response, and suddenly everything breaks. This is the story of a subtle bug, a frustrating debugging session, and the one line of code that fixed it all.
.NETC#JSON+2 more
Jul 30, 2020·2 min read
[ code snippet ] JsonPropertyConverter.cs
JsonConverter that works with System.Text.Json allows having a string property that will just store the json element string instead of trying to parse the properties into a complex object
JSONcode snippet
Oct 29, 2013·4 min read
Visual Studio 2012 – Paste Special Feature
Generally the longest and most frustrating part of using a 3rd party API is making all the C# classes that the data will plugin to after you make requests into those API's.
Visual StudioXMLJSON+1 more