What We Lost When Everything Became an API
We made simple things complicated for no good reason..
Get new posts in your inbox (or via RSS)
We made simple things complicated for no good reason..
ASP.NET Core dropped SynchronizationContext. Here's what that means for your async code.
The Garbage Collector handles most memory in .NET, but not all of it.
Design your classes so that if an object exists, it is in a consistent state.
Every async method allocates a Task on the heap. Sometimes that's wasteful.
How to keep your database and message broker in sync without distributed transactions.
Reuse objects instead of creating new ones to reduce memory allocation overhead and GC pressure.
Disposing HttpClient doesn't close the socket. Reusing it risks stale DNS. IHttpClientFactory solves both.
They overlap but aren't the same. Here's how they relate.
Tiered compilation had a blind spot for long-running loops. OSR fixes that.