.NET 5 Source Generators Jump Start

.NET 5 Source Generators Jump Start

You may have heard about a new feature in .NET 5 called Source Generators. Developers can now generate dynamic code at compile time that .NET will weave into a consuming assembly. The possibilities are endless and will most likely have...

Continue Reading

Find Prime Numbers With C# 9

Find Prime Numbers With C# 9

Computer programming has its roots firmly grounded in mathematics, with the earliest computers used to calculate results that would take average human days to do by hand. One compelling problem in the field of computer science is discovering prime numbers....

Continue Reading

Flatten Strings with Regex.Replace

Flatten Strings with Regex.Replace

Ah, strings, the cause of and solution to all our programming problems. As developers, we’re always balancing our codebase’s readability with the efficient use of string literals. Let’s see how we can work with SQL, a database query language, in...

Continue Reading

Base64 Encoding With C#

Base64 Encoding With C#

I was working with the Spotify API and reading through the authorization documentation. Like most APIs, we need to securely access the service, authorized as the client application or on behalf of a user. We’ll need to deal with secret...

Continue Reading

Rethinking OSS Attribution In .NET

Rethinking OSS Attribution In .NET

The other day I was playing a Castlevania on my RetroPie. In between the doses of pure childhood nostalgia, I found myself scrolling through the Raspberry Pi menus to find an open-source (OSS) attribution display menu. In front of me...

Continue Reading

Capitalize First Letter Of Words With C#

Capitalize First Letter Of Words With C#

Presentation is an essential part of the language, let alone a software application. How we utilize script can make the difference between an enjoyable user experience or an incomprehensible mess. As developers, we likely spend more time formatting strings than...

Continue Reading

Play Audio Files With .NET

Play Audio Files With .NET

I’ve been on a spiritual search for a cross-platform solution that allows developers to play and capture audio using .NET 5. It’s a journey filled with many highs and lows, mostly cursing at my screen and ruing the day I...

Continue Reading

C# 9 Covariant Return Types

C# 9 Covariant Return Types

I’m sitting here reading through the “What’s New in C#9” blog post, and one of the listed additions to the language is Covariant return types. It sounds like an exciting feature, but what does that mean for my day-to-day development...

Continue Reading