DEV Community

Cover image for Best .NET Posts This Week:  8th November 2020
Sam Walpole
Sam Walpole

Posted on • Originally published at samwalpole.com

3

Best .NET Posts This Week: 8th November 2020

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

No. 1: Additional HTTP, Sockets, DNS and TLS Telemetry in .NET 5

.NET has been steadily adding support for improved cross-platform diagnostics tracing for applications. In .NET Core 3.0, we saw the introduction of EventCounters, used for observing metric measurements over time. These counters can be consumed out-of-process as well as in-process and are cross-platform in their design. I’ve used counters from ASP.NET Core in a few applications, to track the number of HTTP requests handled by a service over time.

By Steve Gordan

No. 2: How to handle gRPC errors in .Net Core

Interceptor in gRPC is a very similar conception like middleware idea from classic, Rest communication. A place which is part of specified gRPC global flow, where You can do some custom magic between endpoints. Can be implemented for server & clients, in this particular sample, I will focus on server interceptors.

By Patryk Roguszewski

No. 3: How Endpoint Routing works in ASP.NET Core 3.x

Endpoint routing is a new middleware introduced starting from ASP.NET Core 3.x, which is said to replace the traditional MVC routing which has been the default routing mechanism from the good old times till the recent ASP.NET Core 2.2. Endpoint Routing is said to bring in performance improvements and overall a new Routing mechanism into the ASP.NET Core.

By Ram

No. 4: Identity Server 4 with .NET Core App

Identity Server 4 (IdS4) is an OpenID Connect and OAuth 2.0 framework for .NET core application. It’s an authentication service that provides you centralized authentication logic for different types of applications (Web, Mobile, or Services).

By Mahesh More

No. 5: Introducing C# 9: Extension GetEnumerator support for foreach loops

As you may know, in order to be able to iterate on a collection in C# with the foreach loop the collection must expose a public method GetEnumerator() which doesn’t exist on IEnumerator and IAsyncEnumerator interfaces. C# 9 allows to create an extension method to allow foreach loops on those interfaces. Let’s see in this article how to proceed.

By Anthony Giretti

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.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay