Digests » 291

sponsor

C# Developers are in demand on Vettery

Vettery is an online hiring marketplace that's changing the way people hire and get hired. Ready for a bold career move? Make a free profile, name your salary, and connect with hiring managers from top employers today.

this week's favorite

The best C# articles from 2019

Running the largest C# newsletter gives me the joy of seeing what others like to read. Today, I want to share the most popular pieces from 2019. If you missed any of them I highly recommend catching up.

C# 8 is old news. Onward, to C# 9!

Now, to be fair, this has been in the planning phases long, LONG, before C# 8 shipped to us back in September 2019, as you can see from some of the discussion on the issues themselves. Most folks don’t follow the day-to-day planning of the language itself (myself included), but it’s interesting to peer into the discussions every now and then.

C# 8 Switch Expressions with Pattern Matching

Most .NET engineers are familiar with the original switch statement in C#. Like similar constructs in other object oriented languages, given an arbitrary expression, you can match its result to a case, and execute selected statements.

Lunar: A lightweight native DLL maping library

In short, it emulates almost everything the Windows loader (LoadLibrary / LdrLoadDll) does in a remote process, bar adding references to internal loader structures and a few other small things.

Patterns for using Entity Framework in C# 8

C# 8 adds Nullable Reference Types, which warns us about problematic null values. If you’re upgrading to C# 8, you may run into a few challenges for Entity Framework. Although frustrating at first, the warnings can also be catalysts for finding more effective ways to communicate intent. Let’s walk through the upgrade and devise a few new EF patterns to adopt.