Use CancellationTokens
Explains why and how to use CancellationTokens in .NET APIs to stop long-running operations and free server resources.
Explains why and how to use CancellationTokens in .NET APIs to stop long-running operations and free server resources.
A developer shares practical website optimization tips, including updating HTTP links, using AI agents, and cleaning up config files.
Explains how HTMX uses 'previous' and 'next' mechanics with CSS selectors and the Node.compareDocumentPosition() method.
Explains the performance difference between C# collection expressions and collection initializers, showing how expressions preallocate lists.
A technical guide on building a contextual fitness AI agent using LangChain.js, covering architecture, challenges, and implementation details.
A guide to using Langchainjs for coordinating AI agent tool and function calls with chain-of-thought reasoning, including a practical code example.
A guide to planning and designing a hub and spoke cloud network architecture, focusing on principles like resilience, micro-segmentation, and cost management.
A tutorial for R users on mastering data wrangling in 5 progressive levels, using the dplyr package and the Ames housing dataset.
Learn two Git tricks: quickly switch back to the previous branch and view the last 5 checked-out branches using reflog.
A guide to centralizing CancellationToken management in ASP.NET using a middleware service to reduce repetitive code.
Analyzes the claim that AI will replace human programmers in five years, examining current AI coding benchmarks and limitations.
Overview of bUnit v2, a major update to the Blazor unit testing library, covering new features, breaking changes, and API refinements.
Explains how to use xUnit's TheoryData<T> for type-safe parameterized tests in C#, replacing untyped IEnumerable<object[]> data.
An updated visual mind map of LINQ features and operations, now including all additions up to .NET 9.
A critique of AutoMapper for C# object mapping, advocating for compile-time source generators like Mapperly as a simpler, more maintainable alternative.
Explores how const strings in C# can be modified using unsafe code and string interning, despite being compile-time constants.
A software engineer's 2023 review, covering work on Netlify's frameworks team, layoffs, burnout, and a new role at OpenSauced.
Introduces bUnit Generators, a tool for automatically creating stubs for third-party components in Blazor unit tests.
Explains how to store complex objects and lists as JSON in databases using Entity Framework 8 and 7, including configuration and benefits.
Explains the enhanced logging features in .NET 8, focusing on the improved LoggerMessageAttribute and source generators for better performance and readability.