ASP.NET Core, design, and ops picks
A varied set of .NET reads on scoped services, EF Core CRUD, testing, logging, Redis caching, RabbitMQ workers, and developer tooling.
Jasen's top three picks
- 1 How do you resolve scoped services in a background service?
roundthecode.com
A good refresher on why background services need a scope factory, not a direct scoped dependency.
- 2 CRUD Operations in ASP.NET Core with Entity Framework – Real-World Example
c-sharpcorner.com
A practical CRUD walkthrough that stays close to how many teams actually build ASP.NET Core apps with EF Core.
- 3 String, StringBuilder, Span: The Secrets to Better Code
medium.com
A useful comparison of string, StringBuilder, and Span for people who still care about allocations.
Editor's note
I pulled together a deliberately mixed lineup this time, from scoped services in background workers to Redis caching and RabbitMQ-based workers. I also liked the practical takes on value objects and thin controllers, since both touch everyday design tradeoffs most teams feel.
Today's articles
How do you resolve scoped services in a background service?
roundthecode.com
https://www.roundthecode.com/dotnet-tutorials/how-do-you-resolve-scoped-services-background-service
Topics: ASP.NET Core
Read articleCRUD Operations in ASP.NET Core with Entity Framework – Real-World Example
c-sharpcorner.com
https://www.c-sharpcorner.com/article/crud-operations-in-asp-net-core-with-entity-framework-real-world-example/
Topics: ASP.NET Core EF Core
Read articleString, StringBuilder, Span: The Secrets to Better Code
medium.com
https://medium.com/nerd-for-tech/string-stringbuilder-span-the-secrets-to-better-code-4f80e93baf9f
Topics: C# Performance
Read article.NET Automated Testing
belitsoft.com
https://belitsoft.com/dot-net-automated-testing
Topics: Unit Testing
Read articleTemp Tables vs CTEs in SQL Server: What You Should Really Know
c-sharpcorner.com
https://www.c-sharpcorner.com/article/temp-tables-vs-ctes-in-sql-server-what-you-should-really-know/
Topics: SQL Server
Read articleVisual Studio Code CMake Tools Extension 1.21 Release: Multi-root improvements, CMake Presets v10, and more…
devblogs.microsoft.com
https://devblogs.microsoft.com/cppblog/visual-studio-code-cmake-tools-extension-1-21-release-multi-root-improvements-cmake-presets-v10-and-more/
Topics: Visual Studio Code
Read article.SLN is dead. Long live .SLNX!
unicorn-dev.medium.com
https://unicorn-dev.medium.com/sln-is-dead-long-live-slnx-50c187db4ba1
Topics: .NET Core
Read articleVibe coding: a blessing or a curse for .NET developer?
medium.com
https://medium.com/@denmaklucky/vibe-coding-a-blessing-or-a-curse-for-net-developer-f380f60c7b4e
Topics: C#
Read articleAll the .NET core Opsy Things
medium.com
https://medium.com/@mfundo/all-the-net-core-opsy-things-37b2e21eabb4
Topics: .NET Core Performance
Read articleHow to Use Value Objects to Solve Primitive Obsession
medium.com
https://medium.com/@michaelmaurice410/how-to-use-value-objects-to-solve-primitive-obsession-f9c6308a11d6
Topics: Domain-Driven Design
Read articleScalable Logging Pipelines in .NET: Serilog, Seq, and Elastic Stack Explained
medium.com
https://medium.com/@bhagyarana80/scalable-logging-pipelines-in-net-serilog-seq-and-elastic-stack-explained-32554c75c7d2
Topics: Serilog
Read articleThe Death of var (In My Codebase)
medium.com
https://medium.com/@kelvroman/the-death-of-var-in-my-codebase-154a6e13caea
Topics: C#
Read articleRust or C#? : Developer Security Quick Fire Questions @ MS Build
youtube.com
https://www.youtube.com/shorts/VdlsiBj2FOo
Topics: Security
Read article10 Underrated C# Features You Should Be Using
medium.com
https://medium.com/@kittikawin_ball/10-underrated-c-features-you-should-be-using-136c506b16f4
Topics: C#
Read articleWhy You Should Start Using Visual Studio Code for Your .NET Projects
medium.com
https://medium.com/@andresleiva.4/why-you-should-start-using-visual-studio-code-for-your-net-projects-125bbb29bb73
Topics: Visual Studio Code
Read articleUnderstand GitHub Copilot Extensions and Slash Commands
binaryintellect.net
http://www.binaryintellect.net/articles/49740328-6ea4-4154-9d00-ba735734a1ef.aspx
Topics: GitHub Copilot
Read articleScaling ASP.NET Core Apps with Redis Output Caching
medium.com
https://medium.com/@connect.hashblock/scaling-asp-net-core-apps-with-redis-output-caching-a9cc3213cf1e
Topics: ASP.NET Core Redis
Read articleRepository Pattern & Clean Architecture With Entity Framework Core in .NET 9
medium.com
https://medium.com/@michaelmaurice410/repository-pattern-clean-architecture-with-entity-framework-core-in-net-9-5cbf37aefd03
Topics: Clean Architecture .NET 9 EF Core
Read articleThe Dark Side of Thin Controllers in .NET: Fat Services and Hidden Technical Debt
itnext.io
https://itnext.io/the-dark-side-of-thin-controllers-in-net-fat-services-and-hidden-technical-debt-f9181c523a82?source=rss------csharp-5
Topics: ASP.NET Core Solid Principles
Read articleBuilding Distributed .NET Background Workers with RabbitMQ and MassTransit
medium.com
https://medium.com/@bhagyarana80/building-distributed-net-background-workers-with-rabbitmq-and-masstransit-95c971c9f54e?source=rss------dotnet-5
Topics: RabbitMQ Service Bus
Read articleSelf-Healing .NET Apps: Building Systems That Recover Themselves
medium.com
https://medium.com/@yaseer.arafat/self-healing-net-apps-building-systems-that-recover-themselves-7f16e2011c89
Topics: .NET Core Performance
Read article