One email per week, 5 links.

Do you want to keep up to date with the latest trends of Microsoft .NET development?

But keeping up to date with all the blogs, podcasts, and articles is time consuming so why not let someone else curate the content for you?

With our weekly newsletter you will get 5 top stories hand-picked into your inbox every Monday with topic ranging from C#, .NET, and CLR, the world of web and cloud with ASP.NET, Blazor, and Azure and app development with WPF, Xamarin, and UWP.

Escape the distractions of social media and own your focus. Check out the latest issue and subscribe!

C# Digest#367

sponsor

Don’t panic, but your source code is showing!

Protect your app from getting hacked or reverse engineered with Dotfuscator, PreEmptive Protection for .NET. See why we’ve been the #1 obfuscator for 20+ years. Integration is easy, trials are free, and includes support.

this week's favorite

Exploring .NET interactive notebooks with VS Code

This was something that I knew wouldn't be hard, but I wanted to validate the code before sending a reply. My normal go-to approach would be to create a console app for testing, but instead I decided to try out something I'd heard about recently: .NET Interactive Notebooks.

Performance booster with System.IO.Pipelines in C#

As our industry has embraced the new strategies for handling the production workloads which include containers (Read as K8s) or Serverless (Read as Functions As A Service), the developers don’t have the luxury of unlimited computing resources on the production environments.

Monadic comprehension syntax via LINQ in C#

If you ask a C# developer to list the reasons why they enjoy working with the language, they will most likely put LINQ somewhere at the top. LINQ is an extremely convenient set of language tools that provide ways to query and transform data sequences of arbitrary shapes and origins, in a fluent, lazy, and efficient manner.

.NET 6: Collections improvements

Before performing a large set of inserts into a Dictionary or HashSet, it is helpful to call EnsureCapacity with the expected collection size. This allows the collection to perform one resize operation upfront, avoiding the possibility of multiple resizes being needed.

Date, Time, and Time Zone enhancements in .NET 6

I’m excited to share with you some of the improvements that have been made to .NET that are coming in .NET 6 in the area of dates, times, and time zones. You can try out all of the following, starting with .NET 6 Preview 4.