C# performance, AI, and tooling updates
This issue covers C# fundamentals, EF Core performance, Azure AI and Copilot workflows, plus Visual Studio and GitHub tooling.
Jasen's top three picks
- 1 CancellationToken in .NET: What Are They and Why Should You Use Them?
medium.com
Cancellation and async control is a basic skill that still pays off immediately in real code.
- 2 Boost your GitHub productivity with our new multi-account support!
devblogs.microsoft.com
Visual Studio’s multi-account support and auto doc comments are the kind of workflow upgrades I notice right away.
- 3 ASP.NET Core OpenAPI with Scalar
medium.com
EF Core batching and ExecuteUpdate are practical reads if you’re trimming database round-trips.
Editor's note
I pulled together a pretty wide mix this time: fundamentals like CancellationToken, yield, HashSet, and LINQ sit alongside higher-level topics like EF Core batching and Azure AI. The Visual Studio multi-account support and automatic doc comment generation items are especially practical if you live in the editor all day.
Today's articles
CancellationToken in .NET: What Are They and Why Should You Use Them?
medium.com
https://medium.com/@adrianbailador/cancellationtoken-in-net-what-are-they-and-why-should-you-use-them-3f861b5107be
Topics: C# Performance
Read articleBoost your GitHub productivity with our new multi-account support!
devblogs.microsoft.com
https://devblogs.microsoft.com/visualstudio/boost-your-github-productivity-with-our-new-multi-account-support/
Topics: GitHub Visual Studio
Read articleASP.NET Core OpenAPI with Scalar
medium.com
https://medium.com/@FitoMAD/asp-net-core-openapi-with-scalar-c430051bbabf
Topics: ASP.NET Core REST API
Read articleIntegrating Azure AI with GitHub Copilot for AI-Powered Code Generation
csharp.com
https://www.csharp.com/article/integrating-azure-ai-with-github-copilot-for-ai-powered-code-generation/
Topics: Azure GitHub Copilot OpenAI
Read articleOptions Pattern Validation in ASP.NET Core With FluentValidation
milanjovanovic.tech
https://www.milanjovanovic.tech/blog/options-pattern-validation-in-aspnetcore-with-fluentvalidation
Topics: ASP.NET Core FluentValidation
Read articleBoost .NET Performance with FusionCache: A High-Performance Caching Library
medium.com
https://medium.com/@ekondur/boost-net-performance-with-fusioncache-a-high-performance-caching-library-0c081ca67553
Topics: Performance Redis
Read articleLINQ (Language Integrated Query) in C#
medium.com
https://medium.com/@payton9609/linq-language-integrated-query-in-c-0cac12a4f457
Read articleGraphQL in .NET: Why, When, and How to Use It
medium.com
https://medium.com/mr-plan-publication/graphql-in-net-why-when-and-how-to-use-it-18914fd4d742
Topics: ASP.NET Core REST API
Read articleFunctional Programming in C#: The Practical Side
medium.com
https://medium.com/@julakadaredrishi/functional-programming-in-c-the-practical-side-a0fb47554ce6
Topics: C# Design Patterns
Read articleC# Generic Repository Design Pattern Nedir? Nasıl Kullanılır?
medium.com
https://medium.com/@umut.tanriverdiceng/c-generic-repository-design-pattern-nedir-nas%C4%B1l-kullan%C4%B1l%C4%B1r-784665a78568
Topics: C# Design Patterns
Read articleML.NET: The Modern Way to Build AI in .NET
medium.com
https://medium.com/@nagarajvela/ml-net-the-modern-way-to-build-ai-in-net-dc85a83748ec
Read articleDeploying Open-Source AI Models on Azure Kubernetes Service (AKS)
csharp.com
https://www.csharp.com/article/deploying-open-source-ai-models-on-azure-kubernetes-service-aks/
Topics: Azure Kubernetes OpenAI
Read articleMastering Primitive Collections in EF Core 8 & .NET 9: A Complete Beginner’s Guide
medium.com
https://medium.com/@ashokreddy343/mastering-primitive-collections-in-ef-core-8-net-9-a-complete-beginners-guide-4f5ace107dfe
Read articleGuest Blog: Build a Multi-Agent System Using Microsoft Azure AI Agent Service and Semantic Kernel in 3 Simple Steps!
devblogs.microsoft.com
https://devblogs.microsoft.com/semantic-kernel/guest-blog-build-a-multi-agent-system-using-microsoft-azure-ai-agent-service-and-semantic-kernel-in-3-simple-steps/
Topics: Azure OpenAI Semantic Kernel
Read articleBig O Notation in C# with LINQ
medium.com
https://medium.com/@ganesh.s.gurav/big-o-notation-in-c-with-linq-a13a95587979
Topics: C# .NET Core Performance
Read articleMicrosoft .NET Code Analysis: Boosting Performance with Span and Memory
dotnettips.wordpress.com
https://dotnettips.wordpress.com/2025/03/19/microsoft-net-code-analysis-boosting-performance-with-span-and-memory/
Topics: C# Performance
Read articleDotnet Service Lifetime : AddTransient(), AddScoped(), AddSingleton()
ravindradevrani.com
https://ravindradevrani.com/posts/dotnet-service-lifetime/
Topics: ASP.NET Core .NET Core
Read articleUnderstanding HashSet in C#
csharp.com
https://www.csharp.com/article/understanding-hashset-in-c-sharp/
Topics: C# Performance
Read articleBulk Updates in EF Core: Optimize Performance with Batching & ExecuteUpdate
medium.com
https://medium.com/@BlueflameLabs/bulk-updates-in-ef-core-optimize-performance-with-batching-executeupdate-774e893cc68d?source=rss------dotnet-5
Topics: EF Core Performance
Read articleHow to Use Azure Monitor for Performance Tracking with Alerts using C#
csharp.com
https://www.csharp.com/article/how-to-use-azure-monitor-for-performance-tracking-with-alerts-using-c-sharp/
Topics: Application Insights Azure Performance
Read articleIntroducing automatic documentation comment generation in Visual Studio
devblogs.microsoft.com
https://devblogs.microsoft.com/visualstudio/introducing-automatic-documentation-comment-generation-in-visual-studio/
Topics: Source Generators Visual Studio
Read articleMaking Sense of yield in C#
csharp.com
https://www.csharp.com/article/making-sense-of-yield-in-c-sharp/
Topics: C# Performance
Read article