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....

Continue Reading

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.

Continue Reading

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...

Continue Reading

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...

Continue Reading

Remove Rows From Razor HTML Tables

Remove Rows From Razor HTML Tables

The tried and true spreadsheet is the king of all business application user experiences. On the web, we’ve been able to recreate and dress-up the spreadsheet experience using HTML table tags. It’s a common design choice in many create, update,...

Continue Reading

Use TempDataAttribute For Clean Code

Use TempDataAttribute For Clean Code

In a previous post, I wrote about solving the form resubmission confirm issue that many developers run into when building web applications. In ASP.NET MVC, we have many tools at our disposal to pass information from one method to another,...

Continue Reading

Use Range and Index In C# 8

Use Range and Index In C# 8

The C# of today has progressed in exciting ways, and for the benefit of the development community. C# 8 is one of those releases where the sum of its parts add up to something great. In this post, we’ll be...

Continue Reading