C# performance, EF Core, and architecture picks
A varied .NET roundup with performance advice, EF Core patterns, MFA, logging, Copilot tips, architecture discussions, and C# 14 updates.
Jasen's top three picks
- 1 How to Convert a DataTable to a List of Objects in C#
c-sharpcorner.com
A practical reminder that tiny LINQ choices can still show up in hot paths.
- 2 Boost Your C# Code: Why Any() is Faster Than Count() > 0 for Performance
medium.com
Good to see MFA covered with a hands-on TOTP implementation, not just theory.
- 3 Akka.NET is the Best Choice for Reactive Systems in C# .NET 9
c-sharpcorner.com
Several C# 14 articles this week—useful if you’re tracking the language’s new surface area.
Editor's note
I pulled together another mixed bag today: performance, persistence, security, and a few C# 14 curiosities. The Any() vs Count() piece is a good reminder that small LINQ choices still matter, and the TOTP MFA article is a practical security read for app teams.
Today's articles
How to Convert a DataTable to a List of Objects in C#
c-sharpcorner.com
https://www.c-sharpcorner.com/article/how-to-convert-a-datatable-to-a-list-of-objects-in-c-sharp2/
Read articleBoost Your C# Code: Why Any() is Faster Than Count() > 0 for Performance
medium.com
https://medium.com/c-sharp-programming/boost-your-c-code-why-any-is-faster-than-count-0-for-performance-bd10e5275137
Topics: C# Performance
Read articleAkka.NET is the Best Choice for Reactive Systems in C# .NET 9
c-sharpcorner.com
https://www.c-sharpcorner.com/article/akka-net-is-the-best-choice-for-reactive-systems-in-c-sharp-net-9/
Topics: Design Patterns .NET 9
Read article🎨 Abstract Factory Pattern in C# 14
c-sharpcorner.com
https://www.c-sharpcorner.com/article/abstract-factory-pattern-in-c-sharp-14/
Topics: C# Design Patterns
Read articleHow to Set Excel Number Formats in C#
medium.com
https://medium.com/@andrewwil/how-to-set-excel-number-formats-in-c-271ff84ab457
Topics: C#
Read articleThe Battle of C# Serializers: BinaryFormatter vs. MessagePack vs. Protobuf (with .NET 8 Benchmarks)
medium.com
https://medium.com/c-sharp-programming/the-battle-of-c-serializers-binaryformatter-vs-messagepack-vs-protobuf-with-net-8-benchmarks-3fe2ba8944c0
Topics: .NET 8 Performance System.Text.Json
Read articleImplementing TOTP (Time-Based One-Time Password) MFA in .NET Core
c-sharpcorner.com
https://www.c-sharpcorner.com/article/implementing-totp-time-based-one-time-password-mfa-in-net-core/
Topics: Authentication .NET Core Security
Read articleType Casting in C#: What It Is and How It Works
medium.com
https://medium.com/@fulton_shaun/type-casting-in-c-what-it-is-and-how-it-works-7a3e398a922a
Topics: C#
Read articleEF Core WITH (NOLOCK) — SqlServer
ogulcanturan.medium.com
https://ogulcanturan.medium.com/ef-core-with-nolock-sqlserver-d57debbac956
Topics: EF Core SQL Server
Read articleSay Goodbye to Crashing Microservices in ASP.NET Core
itnext.io
https://itnext.io/say-goodbye-to-crashing-microservices-in-asp-net-core-738bcf60f3b6
Topics: ASP.NET Core Web API
Read articleHow to Use Copilot Slash Commands in Visual Studio
c-sharpcorner.com
https://www.c-sharpcorner.com/article/how-to-use-copilot-slash-commands-in-visual-studio/
Topics: GitHub Copilot Visual Studio
Read articleGetting Started with GraphQL in .NET using Hot Chocolate — A Step-by-Step Guide
rahulsahay19.medium.com
https://rahulsahay19.medium.com/getting-started-with-graphql-in-net-using-hot-chocolate-a-step-by-step-guide-390ba9300237
Read articleFive C# coding habits you must break
medium.com
https://medium.com/dot-net-sql-learning/five-c-coding-habits-you-must-break-2ad4a075d145
Topics: C#
Read articleUse EF Core to easily save dates as UTC & show in local time
roundthecode.com
https://www.roundthecode.com/dotnet-tutorials/use-ef-core-easily-save-dates-utc-show-local-time
Topics: EF Core SQL Server
Read articleStructured Logging in .NET
yisusvii.medium.com
https://yisusvii.medium.com/structured-logging-in-net-3ebcffbbd54e
Topics: Application Insights Serilog
Read articleC# Brain Teasers
medium.com
https://medium.com/pragmatic-programmers/c-brain-teasers-6ea89dabf991
Topics: C# Unit Testing
Read articleThe Ultimate Guide: Choosing Between InterpolatedParser And Regex In C#
medium.com
https://medium.com/@nagarajvela/the-ultimate-guide-choosing-between-interpolatedparser-and-regex-in-c-f038cf4d85b4
Topics: C#
Read articleSingleton Pattern in C# 14: A Deep Dive with a Real-World Example
c-sharpcorner.com
https://www.c-sharpcorner.com/article/singleton-pattern-in-c-sharp-14-a-deep-dive-with-a-real-world-example/
Topics: C# Design Patterns
Read articleFlowLite — a lightweight way to manage state in .NET without the pain
medium.com
https://medium.com/@nselyutin/flowlite-a-lightweight-way-to-manage-state-in-net-without-the-pain-87ff6aa3fcd1
Topics: C# Design Patterns
Read articleBehind the scenes of the new field keyword in C# 14
mareks-082.medium.com
https://mareks-082.medium.com/behind-the-scenes-of-the-new-field-keyword-in-c-14-cb792c0a4edc
Topics: C# Design Patterns
Read articleLaunching My New Book: ASP.NET Core Full-Stack Development Projects!
medium.com
https://medium.com/@alexandre.malavasi/launching-my-new-book-asp-net-core-full-stack-development-projects-93704aee4676
Topics: C#
Read articleOn .NET Live: Clean Architecture, Vertical Slices, and Modular Monoliths (Oh My!)
youtube.com
https://www.youtube.com/watch?v=aBfmaVwXBP4
Topics: ASP.NET Core Web API
Read articleBuilding a Code Navigation Server with C# and .NET: An MCP Case Study with AICodeNavigator
medium.com
https://medium.com/@shahriddhi717/building-a-code-navigation-server-with-c-and-net-an-mcp-case-study-with-aicodenavigator-883f059d938e
Topics: Clean Architecture CQRS Domain-Driven Design
Read article