Caching in .NET with MemoryCache
A guide to implementing in-memory caching in .NET using IMemoryCache to improve application performance and reduce database calls.
A guide to implementing in-memory caching in .NET using IMemoryCache to improve application performance and reduce database calls.
Explains what middleware is in ASP.NET Core, its role in the request pipeline, and provides a practical implementation example.
A tutorial on implementing a simple, reusable pagination solution for Entity Framework using a PagedList class and extension method.
Introducing .NET 7's StringSyntaxAttribute to add semantic meaning to string parameters, enabling better IDE support for regex, dates, and formats.
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.