Latest Posts

Implement Kotlin's withIndex in C#

Implement Kotlin's withIndex in C#

As a JetBrains Developer Advocate, I’ve become more exposed to other languages and technology stacks. Exposure is a good thing, as it allows me to see what the .NET ecosystem does well, and notice the parts where it could improve....

Ace Switch Expressions in C# 8

Ace Switch Expressions in C# 8

C# 8 came with many new features that make distinct logic branches more apparent for both the developers writing and reading the codebase. Those features include switch expression, property patterns, and tuple patterns.

Enrich HTML With ASP.NET Razor TagHelpers

Enrich HTML With ASP.NET Razor TagHelpers

Have you ever wanted to enrich HTML server-side before reaching the client? Of course, you have! The idea of declaring behavior and then having the tedious parts handled by a framework is what most developers want.

Calculate the Moon Phase With C#

Calculate the Moon Phase With C#

Space: the final frontier. Or at least a topic all developers can enjoy. The most prominent heavenly body in the night sky is the Earth’s Moon, the only natural satellite the Earth has. The moon does many things; amongst them...

Read And Convert QueryCollection Values In ASP.NET

Read And Convert QueryCollection Values In ASP.NET

I recently worked on a proof of concept library that involves access to the web request at the HttpContext level. The library I’m building needs to register endpoints, and these endpoints need to process basic query string parameters. Fundamental stuff,...

Serialize Interface Instances With System.Text.Json

Serialize Interface Instances With System.Text.Json

On the spectrum of “chill” languages, JavaScript is on the higher end of permissible syntax. The ability to patch together a disparate group of values and treat them as one collection can help developers “get stuff done”. C# and .NET...

Remember ASP.NET Request Culture Using Middleware

Remember ASP.NET Request Culture Using Middleware

In the last post, we explored a jumpstart guide to working with a user’s request culture. While localization works out of the box, there seems to be a caveat when it comes to remembering the culture a user prefers.

ASP.NET Core Localization Jump Start

ASP.NET Core Localization Jump Start

Language is a core component of the human condition. According to the Washington Post, at least 50% of the world’s population is bilingual. That’s a fantastic statistic, that means every second user to our application could be bilingual. Sadly, most...

MVVM With Xamarin.Forms and JetBrains Rider

MVVM With Xamarin.Forms and JetBrains Rider

My journey into the world of Xamarin.Forms continue, and recently I have been exploring the Model View View Model (MVVM) pattern and how it changes a solution’s profile and my approach to building mobile experiences. One of the most critical...