Await your event handlers completion with Deferred Events
Explains how to use Deferred Events to make async event handlers awaitable, allowing the invoker to wait for all handlers to complete.
Explains how to use Deferred Events to make async event handlers awaitable, allowing the invoker to wait for all handlers to complete.
A technical overview of new features in C# 7, including pattern matching, tuples, out variables, and local functions.
A tutorial on integrating Twilio's SMS API with a .NET Core console application, including code examples.
Introduces Sprache, a C# library for creating text parsers using parser combinators, with an example parsing HTTP WWW-Authenticate headers.
A tutorial on using .NET Core and Roslyn for basic code generation, demonstrating namespace replacement in C#.
Explores two methods for implementing timeout logic in C#: using Reactive Extensions (Rx) and the CancellationTokenSource approach.
A developer's guide to building a smart mirror using a Raspberry Pi, .NET Core, and C# for a UWP application.
Explains how strings in .NET are objects subject to garbage collection, analyzing their memory allocation and behavior.
Explains the 'fixed' keyword in C#, covering its role in unsafe code, how the compiler, JIT, CLR, and GC collaborate, and its use for pinning objects in memory.
A tutorial on creating a basic Web API for an online store using ASP.NET Core, covering project setup, data models, and Entity Framework Core.
Analyzes performance inefficiencies in LINQ queries, including hidden allocations, and offers optimization techniques for C# developers.
A tutorial on building a serverless Web API with Azure Functions to generate vCard QR codes from user-provided contact details.
Explores the new tuple deconstruction feature in C# 7, including syntax and how to deconstruct custom types.
Explains the new tuple syntax and ValueTuple type in C# 7, highlighting performance benefits and named elements over older Tuple classes.
Explains how to use the linker's --wrap flag to mock C standard library functions for unit testing, enabling isolated code testing.
Explains a subtle bug in C# where using 'var' with an async method call without 'await' leads to unexpected behavior, and discusses prevention.
Explores the unique memory layout and performance optimizations of the String type within the .NET Common Language Runtime (CLR).
A technical tutorial explaining the fundamentals of pointers in C programming, covering memory addresses, dereferencing, and data representation.
Explores benchmarking tools and techniques using a Stack Overflow code example, focusing on performance optimization and avoiding allocations.
A curated list of insightful programming blogs covering topics like JVM internals, performance, ML, engineering culture, and computer architecture.