C# C# Finally Has First-Class CLI Scripting in .NET 10 With .NET 10, you now have no excuse not to start a collection of utility scripts that call into application code.
C# Prevent Lost Updates in EF Core: Optimistic vs. Pessimistic Concurrency If multiple users can edit the same record, you need to decide how your system handles that. If you don’t, EF Core decides for you.
Development Practices Register a Separate DI Pipeline for Hangfire Jobs with Custom Activator Hangfire is a powerful tool that can leverage your existing backend code for setting up background jobs for .NET projects.
C# How to Choose Among Class, Record, and Struct in C# Class, Record, and Struct: Walk through how these types are commonly used in C#, how they differ, and learn to choose among them.
C# CancellationToken in C# – Pitfalls and Winning Patterns CancellationToken has taken what might have been a messy, hard to manage part of our application and made it pretty simple and lightweight.
Developer Tools How to Work Union Types into C# If you're coming to C# from a language like Typescript, you might be wondering, "How do I write a discriminated union?"
C# Correctly Check and Use Nullable Variables in C# After checking if a variable is null, how you use the variable changes based on the type. Avoid confusion and use the correct syntax for each.
.NET / WPF .NET Feature Spotlight: User-Defined Implicit Type Conversion One C# feature saved our team a lot of work and allowed a more elegant software solution: user-defined implicit type conversion.
C# Switch Statement Guide for C# C# has multiple different syntaxes for switch statements and expressions. Here is what they are and how to use them.
C# Sliding Window in C#: A Reusable and Efficient Approach When working with collections in C#, you may need to process elements in fixed-size, overlapping groups, referred to as a "sliding window."
C# My Typescript to C# Cheatsheet To facilitate learning C#, I created a Typescript to C# cheatsheet to help map commonly-used TypeScript concepts to their C# counterparts.
C & C++ Align Optionality in Your C# API with OpenAPI 3.1 Specifications If you're using C# for your API and OpenAPI 3.1 for your specification, there are several techniques you can employ to ensure they match up.