Featured Series

Walkthroughs and guides serialized as blog posts.

Performance Hacking .NET

A collection of posts sharing tips and tricks for writing high-performance code

Read More

Logging and Debugging High Throughput Services

A collection of posts sharing lessons learned working on very busy services.

read more

Fun with System.Text.Json

A collection of posts written while developing with JSON serialization on .NET Core 3+.

Read more

Decrypting Apple Pay Payment Blob Using .NET

Walkthrough for decrypting Apple Pay Payment blob using .NET.

Read more

Apple Pay Certificate Signing Using .NET

Walkthrough for configuring Apple Pay certificates using .NET.

read more

Recent Posts

Read the latest posts to the Blog.

Enumerator performance surprises

Part of the series: Performance Hacking .NET How many times have you written a foreach statement? Probably too many times to count. How many times have you worried about the performance of that statement? Probably never. That. Changes. Now! Behold these benchmarks: See anything in there that would scream performance issue? Look carefully, I dare […]

DynamicMethod as a high-performance alternative to Reflection

Part of the series: Performance Hacking .NET Update: The code discussed in this post is now available on GitHub. Reflection is great. I have used it many times to solve the unsolvable, as I’m sure you have. But it is slow! Isn’t it? I mean… it has to be, right? It’s doing things at runtime […]

Performance Hacking .NET

.NET isn’t a performance-first platform. It’s a productivity platform! Its goal is to allow us to write a bunch of business logic quickly without having to worry about the micro-details. Your code should just work, and be reliable. For the most part, this is a GOOD thing. My advice is to embrace that you don’t […]

TimeSpan.Parse(“24:00:00”) may surprise you!

The other day a dev asked the team I’m on for help with a caching issue they were having. They were putting things into the cache, with an expiration time, but it wasn’t refreshing at the expected time. We recently switched our caching from memcached to Redis so we just assumed this was a bug […]

About

Blanch on Code is a programming blog for .NET enthusiasts. A place to share experiences and learn how to assemble great software built around the .NET platform. Tips, tricks, hacks, and more.

About Blanch

Blanch is an industry veteran with twenty years of programming experience. Currently working in a payments group for a large corporation. Originally a UX developer Blanch has a soft spot for interfaces but spends most of his time developing high throughput services.

About Code

Great code is simple and easy to read. If you really want to make something that will last try to build it so the next coder working on it can easily extend and add to what you’ve done. The more code you write, the more code you read, the better at it you’ll be! ABC… always be coding.

Contact

Questions, comments, concerns, or ideas? Send them over! Life is all about participation.

Or reply to your favorite Post and join the conversation instantly.