Blog Posts

Increase Command Timeout for EF Core Migration Bundles

Increase Command Timeout for EF Core Migration Bundles

EF Core Migration Bundles are standalone executable files that contain one or more Entity Framework Core migrations and can be applied directly to a

Create a custom proxy endpoint action with ASP.NET Core MVC

Create a custom proxy endpoint action with ASP.NET Core MVC

There are various reasons why it is useful to channel certain requests through your own application to an external endpoint; the most obvious is, for

Load Google Search Crawler IP Address Ranges with Refit

Load Google Search Crawler IP Address Ranges with Refit

Rate Limit is a great tool to protect your own website and content from misuse; in some cases, however, rate limiting is also bad: for example, if yo

Replace and remove whitespaces in strings - performant and sustainable

Replace and remove whitespaces in strings - performant and sustainable

There are many ways to remove spaces or other characters in a string - there are just very big differences in terms of performance and efficiency. Be

Auto Format your Code on save with Visual Studio

Auto Format your Code on save with Visual Studio

Code formatting is a very important element when developers work together on a project - and you are always well advised not to invent your own forma

Sustainable Code with .NET 9

Sustainable Code with .NET 9

Sustainable Code is a constantly growing GitHub repository created by me, in which I collect various everyday code snippets and measure the performan

Use ServiceCollection in Unit Tests with .NET

Use ServiceCollection in Unit Tests with .NET

A popular unit test - and also a necessary test - is the correct registration of interfaces and their implementation with dependency injection. And a

How to process ZIP Files from a Stream in .NET

How to process ZIP Files from a Stream in .NET

When working with ZIP files in .NET, there may be cases where the file is not stored on disk but comes directly as a Stream. This could happen if you

Decompress a ZIP archive with .NET

Decompress a ZIP archive with .NET

Working with compressed files is common in many applications, whether you're extracting data from an archive, installing software packages, or retrie

Compress a folder of files to a ZIP archive with .NET

Compress a folder of files to a ZIP archive with .NET

When working with .NET apps you may sometimes need to bundle multiple files into a single compressed archive for easier storage, transfer, or process