Dive into C#, Web, Cloud, Network and Security

Tag .NET 5.0

How to use HTTP/2 with HttpClient in .NET 6.0

Today, more than 65% of HTTP requests are done with the HTTP/2 standard. In this article, we will explore the different options available to configure HttpClient to use HTTP/2 standard in .NET 6.0.

How to use the C# init keyword

Init-only properties are one of the new features available in C# 9.0, officially released on November 2020 with .NET 5.0. This feature provides a way to initialize objects’ properties without being forced to put a set accessor on the properties.

© 2024 Siaka Baro

Up ↑