Welcome to my blog 👋

Where I occasionally write about topics like .NET, DevOps, Open Source, Azure, etc.

Static Web App WASM Search

Static web apps excel at delivering pre-rendered content quickly, efficiently, and cost-effectively. However, implementing search functionality with these same benefits has traditionally required compromising the static nature by using a backend or third-party service for a good experience. In this post, I'll demonstrate how to add powerful client-side search to a static website using WebAssembly. For my blog, I'm using the Statiq as my static site generator together with GitHub Pages as my hosting provider, but the approach described should work across most static site generators and hosting platforms.

Read more...

SLNX Finally here📄

The Visual Studio solution files have long been an explicit and messy format, with lots of configuration that could be inferred from conventions. However, with the release of the latest .NET 9 SDK (9.0.200) earlier this month, things have changed. The new XML-based solution format, SLNX, is now out of preview, bringing clean, convention-based defaults while still allowing for explicit configuration when needed.

Read more...

Long paths in Git on Windows

On Windows, it's not unlikely that you'll encounter issues where you either have a repo that won't clone or files that won't commit. One common scenario that causes this is when doing snapshot testing, particularly with parameterized tests. These tests often generate snapshot files with names that include the test parameters, resulting in very long filenames. One workaround is to move folders into the root of drives or create shorter names, but ultimately, this will cause issues sooner or later.

Read more...