Welcome to my blog! This is my first post where I share thoughts and lessons from building projects.
Why this blog exists
I wanted a place to document practical things I learn while working on real software:
- implementation tradeoffs
- debugging patterns
- lessons from shipping
One small rule I apply often is: use CancellationToken on async APIs that may do I/O.
Here is a tiny endpoint example:
app.MapGet("/api/ping", async (CancellationToken cancellationToken) =>
{
await Task.Delay(10, cancellationToken);
return Results.Ok(new { status = "ok" });
});
Stay tuned for more content.