DEV Community

loading...
Cover image for Best .NET Posts This Week: 6th December 2020

Best .NET Posts This Week: 6th December 2020

Sam Walpole
Originally published at samwalpole.com ・3 min read

Here are some of the best .NET, C# and ASP NET posts from this week.

This Weeks Articles

C# 9 Records as DDD Value Objects

By Vladimir Khorikov

Today, we’ll talk about the new C# 9 feature, Records, and whether or not they can be used as DDD value objects.

No-nonsense gRPC guide for the C# developers, Part One: Basic Service

By Lech Gudalewicz

gRPC is a high performance program-to-program communication framework highly suitable to efficiently connect services and, as such, to serve as the foundation for the micro-service architecture

Fluent Generics in C#

By Alexey Golub

Generics is a powerful feature available in many statically typed languages. It offers a way to write code that seamlessly operates against many different types, by targeting the features they share rather than the types themselves. This provides the means for building flexible and reusable components without having to sacrifice type safety or introduce unnecessary duplication.

Exploring the async/await State Machine – The Awaitable Pattern

By Vasil Kosturski

If you’re a C# developer, chances are you see the async/await keywords everywhere an IO operation is involved. Introduced in C# 5, async/await made the way to write asynchronous code remarkably simple. It very much fulfills its promise – developers can write async code in almost the same way they write synchronous one. I find this simplicity fascinating. Asynchronous execution is something complex in its’ nature. There are all sorts of trickeries related to scheduling continuations, transferring execution contexts, handling exceptions, and whatnot. This complexity doesn’t just go away with the introduction of async/await. Instead, it’s moved behind some abstraction layer implemented in the C# compiler.

You Might Also Like

I post mostly about full stack .NET and Vue web development. To make sure that you don't miss out on any posts, please follow this blog and subscribe to my newsletter. If you found this post helpful, please like it and share it. You can also find me on Twitter.

Discussion (0)