- C# Digest
- Posts
- What's new in C# 13
What's new in C# 13
Params collections support, a new Lock type and others
What's new in C# 13
9 minutes by Bill Wagner
Get an overview of the new features in C# 13. It introduces several significant features including params collections support for various collection types beyond arrays, a new Lock type for improved thread synchronization, and the ability for ref struct types to implement interfaces and a handful of other features.
Dometrain's Black Friday Sale is now live! Get 40% off every course, bundle or subscription!
sponsored by Dometrain
Become a better C# developer and get ahead of the competition with courses by Dometrain. Dometrain is a learning platform by Nick Chapsas and 16 other excellent authors working in companies like Microsoft and AWS. Until the 2nd of December, you can use code BLACKFRIDAY24 at checkout to get 40% off any course, bundle, or Dometrain Pro subscription, which gives you access to every course.
Observability and Distributed Tracing Terminology Guide
8 minutes by Michael Shpilt
If you’re new to the observability space, it’s easy to get lost in a sea of terms. What are APMs, traces, spans, telemetry, and metrics? Are Jaeger and Zipkin actual words? What’s the difference between OpenTelemetry and OpenTracing? Let’s try to make sense of all this language.
Dynamic Htmx Islands with ASP.NET Core
6 minutes by Khalid Abuhakmeh
Using TagHelpers to create an Htmx-powered Islands implementation for ASP.NET Core. Server islands allow static pages to have specific sections rendered on-demand by the server, with three types of loading events.
Url encoding base 64 strings in .NET 9
3 minutes by Tore Aurstad
.NET 9 introduces a simplified method for URL-encoding base64 strings using Base64Url.EncodeToString(), replacing the previous multi-step process required in .NET 8. The new approach is more optimized but omits padding characters by default, though a provided extension method can add the necessary padding to maintain compatibility with older implementations.
Using a Distributed Redis Cache in .NET Aspire
13 minutes by Fiodar Sazanavets
The article explains how to implement distributed caching and locking mechanisms using Redis in .NET Aspire applications. It demonstrates the setup of a sample e-commerce platform where Redis is used to cache product information for faster retrieval and implement distributed locking to prevent concurrent product updates.
😘 Kiss Bugs Goodbye
sponsored by QA Wolf
Bugs sneak out when less than 80% of user flows are tested before shipping. But getting that kind of coverage—and staying there—is hard and pricey for any size team. QA Wolf helps engineering teams get to 80% automated test coverage and ship 5x faster by reducing QA cycles from hours to minutes. Schedule a demo to learn more.
how did you like this issue? |