How to get allocations in .NET? And how big is an empty array?
Explains how to measure heap allocations in .NET and reveals that an empty array consumes 24 bytes due to object overhead.
Explains how to measure heap allocations in .NET and reveals that an empty array consumes 24 bytes due to object overhead.
Explains software design patterns like Mediator, Strategy, Singleton, and Proxy using simple sketches and real-world analogies.
Compares C# local functions and lambda expressions, highlighting key differences in recursion, yield usage, and performance.
Explores a proposed Java language change to simplify the 'Hello World' program for beginners, reducing initial concept overload.
An eBook explaining LINQ (Language Integrated Query) in C# using visual sketches and code samples, with over 30 pages of content.
Explains how to implement strongly typed middleware in ASP.NET Core using the IMiddleware interface, contrasting it with the conventional approach.
A developer troubleshoots a broken Python virtual environment and dives deep into dependency installation issues in this coding screencast.
Explains the Decorator Pattern in C# using a cached repository example to add behavior dynamically without subclassing.
Explores applying scientific principles and engineering pragmatism to modern software development to improve practices and avoid common pitfalls.
A tutorial on implementing component virtualization in Blazor to improve performance by rendering only visible UI elements.
Explains how to integrate ASP.NET Core Minimal APIs with Razor Pages for efficient JSON data handling in web applications.
A Swift extension simplifies rounding specific corners of a CALayer by providing more intuitive constant names like .bottomLeft.
A developer reflects on three years of successful freelancing after leaving traditional tech companies, sharing career insights and advice.
Explains the new minimal hosting API in .NET 6, where Razor Pages apps are configured in Program.cs without a separate Startup class.
A technical guide on how AsyncLocal values are stored in .NET and the process of retrieving them from a memory dump using WinDbg.
Java 17 introduces a new random number generator API with a unified interface hierarchy, improving code reuse and flexibility for developers.
Explores new .NET 6 features for Blazor, including WebAssembly AoT compilation, required component parameters, and compiler improvements.
A guide to handling date and time inputs in ASP.NET Core Razor Pages forms, covering native HTML5 controls and formatting.
A guide to implementing a custom TypeConverter for binding ISO 8601 week strings to a complex type in ASP.NET Core Razor Pages.
A guide to creating a custom model binder in ASP.NET Core Razor Pages to handle HTML5 week input type binding.