C# 13: Allow ref and unsafe in iterators and async
C# 13 may allow the use of 'ref' and 'unsafe' in iterators and async methods, addressing current limitations with references and spans.
C# 13 may allow the use of 'ref' and 'unsafe' in iterators and async methods, addressing current limitations with references and spans.
A deep dive into the .NET DiagnosticSource and DiagnosticListener APIs, exploring their design and implementation details.
Introducing GummyCat, a new open-source tool for visualizing the .NET garbage collector's memory layout and activity.
Explains why using multiple boolean parameters in functions is problematic and demonstrates cleaner refactoring techniques.
Learn how to use Entity Framework Core 8's SqlQuery<T> to map SQL results to any C# object, similar to Dapper, while keeping EF Core's strengths.
Explores unsupported methods to dump and analyze the .NET managed heap from within a C# application, detailing internal memory structures.
A simplified infographic explaining how the .NET Garbage Collector works, with links to more detailed technical articles.
A developer's guide to building and running .NET containers on Windows ARM devices using WSL and Podman as alternatives to Docker Desktop.
Explores the hidden .NET API for creating and using frozen segments to store managed objects in native memory for performance.
A guide to speeding up .NET database integration tests using the Respawn library and xUnit fixtures to manage database state.
Explains how to implement the Decorator design pattern using .NET's Dependency Injection to add cross-cutting concerns like logging or caching.
Explores the potential new 'params collections' feature in C# 13, allowing the params keyword to be used with collection types beyond arrays.
Introduces MemoizR, a .NET library for declarative structured concurrency and dynamic lazy memoization, inspired by frontend patterns.
A guide to testing Typesense search functionality using Testcontainers and .NET, including setup and a sample implementation.
A guide to using .NET's Regex.Replace with MatchEvaluator for complex string transformations, simplifying regex patterns with custom logic.
A developer details upgrading a .NET AWS Lambda function to Native AoT, achieving over 85% faster cold starts and reduced costs.
Explores Scriban, a lightweight .NET templating engine for text and Liquid templates, with code examples and use cases.
An interactive LINQ tutorial for C# beginners using a visual marble-based learning tool to understand query operators.
A guide to embedding and executing Lua scripts in .NET applications using the MoonSharp library, including calling functions between languages.
Explains Vertical Slice Architecture, an alternative to layered designs that groups code by feature to reduce complexity and coupling.