Best .NET Posts This Week: 14th March 2021

Subscribe to my newsletter and never miss my upcoming articles

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

This Weeks Articles

Pattern Matching In C#

By Munib Butt

In today’s article we will look at pattern matching in C#. This is a way to match certain members in our objects or the objects themselves to certain conditions and values. This is an especially useful technique to make our code more concise and readable. We will look at several different patterns for matching.

Learn to build HTTP APIs with .NET

By Jon Galloway

ASP.NET makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. Whether you’re new to .NET or an old pro, we’ve got a lot of fresh videos, tutorials, and documentation to help you learn how to build great HTTP APIs.

Crossing the Generics Divide

By Jimmy Bogard

Generics are great, until they aren't, and when they aren't is when you don't know the type at compile-time but at runtime. This isn't necessarily a bad thing, and isn't necessarily a design problem. Remember, void Main is not generic, so at some point, your program needs to cross the generic divide. Sometimes, this is explicit (you instantiate an object of a closed generic type) or implicit (you use a DI container to inject a closed generic type).

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.

Interested in reading more such articles from Sam Walpole?

Support the author by donating an amount of your choice.

No Comments Yet