nameof get's a bit better in C# 12
Explains the new enhancement to the C# 12 `nameof` operator, allowing access to instance members from a static context.
Explains the new enhancement to the C# 12 `nameof` operator, allowing access to instance members from a static context.
Explains how .NET 6's TryGetNonEnumeratedCount method works to get an element count without enumeration, using internal interfaces like IIListProvider.
A guide to six practical C# extension methods for IEnumerable, including IsNullOrEmpty, Partition, Median, and Mode.
Explores practical uses of C# ValueTuple for swapping values, pattern matching, deconstruction, and implementing IEquatable to write cleaner code.
Explains Retrieval Augmented Generation (RAG) for using ChatGPT with custom data, including a C# implementation sample.
Explains how to use ordered indexes in Entity Framework 7 for database query optimization, including performance benefits and implementation.
A tutorial on building a console-based chatbot using Azure OpenAI Service and the C# programming language.
A guide to configuring log levels in ASP.NET Core applications using the appsettings.json file and namespace-specific settings.
A guide to verifying .NET dependency injection containers to catch missing registrations and captive dependencies at startup.
A tutorial on creating custom validation attributes in ASP.NET Core to implement complex data validation rules.
A guide to redacting sensitive PII data like email addresses from logs before they are sent to Azure Application Insights using C# and ITelemetryInitializer.
Explains how to use the Unit of Work pattern with domain events in a .NET DDD application to ensure data consistency.
Explains covariance and contravariance in C# generics with practical examples from the .NET Framework.
Explores performance improvements in .NET 8 Preview 3, comparing benchmarks for string operations and other features against .NET 6 and 7.
A guide to five practical C# extension methods for enhancing Task<T> operations, including fire-and-forget, retry, and timeout patterns.
A technical overview of DuckDB's new Spatial extension, detailing its geospatial file format support, core dependencies, and setup process.
A deep dive into solving C++ static initialization order fiasco (SIOF) and destruction issues encountered while maintaining PyTorch at Google.
Explains how to use C# source generators with regular expressions in .NET 7+ for improved performance and debuggability.
Explores using SIMD instructions and Vector<T> to accelerate LINQ queries in C# for high-performance data processing.
A tutorial on building a custom, reusable ToolTip component from scratch using Blazor WebAssembly, C#, and .NET.