About
This is my personal blog. I use it to write down everything I learn and run into, at work and in my own side projects, so I don't have to learn it twice.
I've written C# for a long time: console tools and Windows services on .NET Framework, a few WPF apps I still maintain, and these days mostly ASP.NET Core APIs, EF Core data layers and the background workers around them. Somewhere along the way I noticed that the notes I kept for myself were the most useful thing I owned, and that most of them would have saved me an afternoon of reading stack traces.
So here they are, cleaned up. Each post is something worth knowing: a LINQ query that finally made sense, a middleware pattern I keep coming back to, a migration that taught me how EF Core really tracks changes. Every post says which .NET SDK, C# version and package versions it targets, because nothing is more annoying than a tutorial that only worked on somebody else's machine.
The posts run from the very first steps to professional depth: installing the SDK, what a class really is, how async and await work, and on to dependency injection, testing, performance tuning and architecture for large codebases. If you're new to C#, welcome, I'll show you the path I took and where I tripped. If you've been around a while, I hope you still find a trick or two.
Some links might earn me a small commission. That never decides what I write about or recommend. If I wouldn't use it myself, it's not here.
Found something broken, or want me to write about something? Drop me a line. I read everything.