Create a dotnet Standard Library (Step-By-Step)
A step-by-step tutorial on creating a .NET Standard class library in Visual Studio, including basic calculator methods and preparation for NuGet publishing.
A step-by-step tutorial on creating a .NET Standard class library in Visual Studio, including basic calculator methods and preparation for NuGet publishing.
Explains memory management in C#, covering the Heap, Stack, and the performance implications of boxing and unboxing operations.
Performance analysis comparing different methods for equality checks on C# enums, revealing the significant speed advantage of the == operator.
A tutorial on implementing component virtualization in Blazor to improve performance by rendering only visible UI elements.
A guide on fixing JSON deserialization issues when migrating from Newtonsoft.Json to System.Text.Json in .NET 6 Web APIs.
Explains the C# yield keyword and generator functions, demonstrating lazy evaluation with code examples comparing IEnumerable and List.
Explains the differences between Task and ValueTask in C#, including use cases, performance benefits, and potential pitfalls for async programming.
A creative programming exploration of encoding flag designs into a single 64-bit value using C# enums, bit shifting, and the ImageSharp library.
A step-by-step tutorial on building a simple HTTP web server in C, covering socket programming and the basics of the HTTP protocol.
A guide on migrating from OpenTracing.NET to OpenTelemetry.NET, covering key differences and implementation changes in .NET/C#.
A review of key new features in C# 10, including record structs and static abstract members in interfaces.
A tutorial on using the ILGPU library to perform GPU-accelerated matrix multiplication in C#, comparing performance with a naive CPU implementation.
Explores C# .NET 6 preview features enabling static abstract members in interfaces, focusing on generic math and parsable contracts.
Explores issues with C# 10's implicit usings feature, including build errors in multi-targeted projects and potential workarounds.
A guide to implementing a type-safe, feature-rich alternative to C#'s built-in enum, addressing its common shortcomings.
A guide to implementing and managing API versioning in ASP.NET Core, covering setup, benefits, and practical examples.
Explains how to create truly 'always valid' value objects in C# using records, focusing on proper validation in constructors.
Explores the evolution and practical examples of pattern matching in C#, from C# 7 to modern versions, highlighting its benefits for code clarity and safety.
Explains the key differences between IEnumerable and IQueryable in C#/.NET, focusing on in-memory vs. remote query execution.
A walkthrough of building a basic JSON parsing library from scratch using modern C++ features like move semantics and smart pointers.