Blog

My rumblings on web

c#asp.net

How to add health checks to your ASP.NET application

Health checks in ASP.NET Core are a way to monitor the health of your application and its dependencies.

Bart TworekMay 28, 2025
c#

How to validate options on start in c#

Options validation in C# is a way to ensure that the options provided to a program are valid and meet certain criteria before the program starts running.

Bart TworekApril 25, 2025
rehype prettymdx

Lets see what we can do with rehype pretty code

Syntax highlighting, line numbers, line highlights, word highlights

Bart TworekApril 12, 2025
c#polly

HttpClient retry policy with Polly

How to implement a retry policy with Polly in HttpClient

Bart TworekFebruary 21, 2025