<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://www.rickneeft.dev/</id><title>Rick Neeft</title><subtitle>A minimal, responsive, and powerful Jekyll theme for presenting professional writing.</subtitle> <updated>2026-11-06T23:02:22+01:00</updated> <author> <name>Rick Neeft</name> <uri>https://www.rickneeft.dev/</uri> </author><link rel="self" type="application/atom+xml" href="https://www.rickneeft.dev/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://www.rickneeft.dev/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2026 Rick Neeft </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>Pattern matching eliminated an extra variable</title><link href="https://www.rickneeft.dev/posts/pattern-matching-null/" rel="alternate" type="text/html" title="Pattern matching eliminated an extra variable" /><published>2026-11-06T22:48:00+01:00</published> <updated>2026-11-06T22:48:00+01:00</updated> <id>https://www.rickneeft.dev/posts/pattern-matching-null/</id> <content src="https://www.rickneeft.dev/posts/pattern-matching-null/" /> <author> <name>Rick Neeft</name> </author> <category term="dotnet" /> <summary> I was working on some code and was annoyed by the amount of code needed to repeatedly fetch an item. My code looked like: SqlScript? nextVersion = null; do { nextVersion = await source.NextVersionAsync(latestVersion); if (nextVersion is not null) { await ExecuteScriptAsync(nextVersion); latestVersion++; } } while (nextVersion is not null); Basically, as long a... </summary> </entry> <entry><title>Codeberg</title><link href="https://www.rickneeft.dev/posts/codeberg/" rel="alternate" type="text/html" title="Codeberg" /><published>2026-11-01T16:34:00+01:00</published> <updated>2026-11-01T16:34:00+01:00</updated> <id>https://www.rickneeft.dev/posts/codeberg/</id> <content src="https://www.rickneeft.dev/posts/codeberg/" /> <author> <name>Rick Neeft</name> </author> <category term="codeberg" /> <category term="git" /> <summary> Introduction Since 2017 I have stored all my code in Git repositories on GitHub. However, due to the current political climate and a growing preference for European services, I started looking for viable alternatives. Through the website European Alternatives I came across Codeberg. Codeberg is a version control service for open-source projects based in Germany and hosted within the EU. It is... </summary> </entry> <entry><title>Benchmark regex</title><link href="https://www.rickneeft.dev/posts/regex-benchmarks/" rel="alternate" type="text/html" title="Benchmark regex" /><published>2026-02-26T07:44:00+01:00</published> <updated>2026-02-26T07:44:00+01:00</updated> <id>https://www.rickneeft.dev/posts/regex-benchmarks/</id> <content src="https://www.rickneeft.dev/posts/regex-benchmarks/" /> <author> <name>Rick Neeft</name> </author> <category term="dotnet" /> <category term="benchmark" /> <summary> Regular expressions (regex) are patterns used to match character combinations in strings. In .NET, there are several ways to use regex for matching. The simplest form is: System.Text.RegularExpressions.Regex.IsMatch("my text", "[a]"); It’s important to note that using Regex.IsMatch(input, pattern) directly is not performant and should generally be avoided. A slightly better approach is to cr... </summary> </entry> <entry><title>View all certificates in User store</title><link href="https://www.rickneeft.dev/posts/certificates-current-user/" rel="alternate" type="text/html" title="View all certificates in User store" /><published>2025-11-26T17:04:00+01:00</published> <updated>2025-11-26T17:04:00+01:00</updated> <id>https://www.rickneeft.dev/posts/certificates-current-user/</id> <content src="https://www.rickneeft.dev/posts/certificates-current-user/" /> <author> <name>Rick Neeft</name> </author> <category term="dotnet" /> <category term="certificates" /> <summary> This short post shows how to list certificates from the Current User (Personal) certificate store using C#. The code below prints a table with certificate thumbprints and the certificate common name (CN). It uses Spectre.Console to render a friendly table but the certificate logic itself does not depend on that library. Usage notes: The snippet reads from the Current User personal store (S... </summary> </entry> <entry><title>How to generate prompts for Copilot by Copilot</title><link href="https://www.rickneeft.dev/posts/get-me-a-prompt-please/" rel="alternate" type="text/html" title="How to generate prompts for Copilot by Copilot" /><published>2025-11-07T14:55:00+01:00</published> <updated>2025-11-07T14:55:00+01:00</updated> <id>https://www.rickneeft.dev/posts/get-me-a-prompt-please/</id> <content src="https://www.rickneeft.dev/posts/get-me-a-prompt-please/" /> <author> <name>Rick Neeft</name> </author> <category term="AI" /> <category term="Copilot" /> <summary> When I’m coding and Copilot is trying to help me, creating a good prompt can sometimes be very challenging. But did you know you can let Copilot create a prompt for you? Context I’m replacing all ILogger messages by moving them into a separate partial class and making use of the source generator ILoggerMessage to prevent boxing when the LogLevel is not logged anyway. Nick Chapsas has a whole Y... </summary> </entry> </feed>
