#455 How to improve memory allocation when creating HttpContent

The benefits of using the RecyclableStream and StreamContent

How to improve memory allocation when creating HttpContent

In almost every application created in .NET, there will be a use case for making an outgoing HTTP call to an external resource. For some of these calls, especially when using POST and PUT verbs, a payload is usually attached to the HttpRequest object, most often in the form of a serialized JSON string.


Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that enables a server to specify any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources.

Object Detection in ML.NET Model Builder

Object detection using local environments is now available in ML.NET Model Builder to help you solve computer vision problems using machine learning.

Concurrent Hosted Service Start and Stop in .NET 8

In this post, I demonstrate starting and stopping hosted services concurrently in .NET 8 using newly available HostOptions.

Announcing .NET 8 Preview 4

.NET 8 Preview 4 contains many exciting new features for the runtime and libraries, Native AOT improvements, modern build output and simplified paths, NuGet package security auditing, and much more!

C# Tip: Advanced Switch Expressions and Switch Statements using filters

We all use switch statements in our code. Do you use them at their full potential?

Folders versus namespaces

What if you allow folder and namespace structure to diverge?


Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.