API hardening, AI templates, and core .NET patterns
Issue #159 spans API reliability, Azure OpenAI, .NET AI templates, SQL tuning, middleware, session state, and concurrency basics.
Jasen's top three picks
- 1 Tiny .NET Core Bug Almost Shut Down a Factory!
medium.com
A tiny bug nearly taking down a factory is exactly the kind of real-world lesson that sticks.
- 2 Copilot Vision is HERE! Watch It Turn Images into Code!
youtube.com
Copilot Vision turning images into code is flashy, but it also hints at how fast developer workflows are changing.
- 3 My Free .NET Resource File Management Tool: Shen Resources Tool
medium.com
This issue has solid fundamentals too: error handling, middleware, session state, and SQL execution plans.
Editor's note
I pulled together a very mixed lineup this time, from production API hardening to AI tooling and older-but-still-useful fundamentals. The factory outage story and the error-handling piece are especially worth a read if you care about keeping services alive under pressure. I also liked the Azure OpenAI Logic App article and the new .NET AI template preview for where the platform is heading.
Today's articles
Tiny .NET Core Bug Almost Shut Down a Factory!
medium.com
https://medium.com/c-sharp-programming/this-tiny-bug-in-our-net-core-api-nearly-took-down-a-factory-feb1a52b4164
Topics: ASP.NET Core .NET Core Performance
Read articleCopilot Vision is HERE! Watch It Turn Images into Code!
youtube.com
https://www.youtube.com/watch?v=pEEw7BvaK50
Topics: GitHub Copilot OpenAI
Read articleMy Free .NET Resource File Management Tool: Shen Resources Tool
medium.com
https://medium.com/@cao.silhouette/my-free-net-resource-file-management-tool-shen-resources-tool-450e54a77e7d
Topics: .NET Core Visual Studio
Read articleBeyond 500: Building Professional Error Handling for .NET APIs
csharp.com
https://www.csharp.com/article/beyond-500-building-professional-error-handling-for-net-apis/
Topics: ASP.NET Core Security
Read articleUsing Azure OpenAI in a Logic App Workflow
csharp.com
https://www.csharp.com/article/using-azure-openai-in-a-logic-app-workflow/
Topics: ASP.NET Core Azure OpenAI
Read articleBuild AI-Powered Chat Apps Easily with the New .NET AI Template (Now in Preview!)
medium.com
https://medium.com/c-sharp-programming/build-ai-powered-chat-apps-easily-with-the-new-net-ai-template-now-in-preview-4cb16676b164
Read articleASP.NET Session State: Storing Data Beyond IIS Restarts
csharp.com
https://www.csharp.com/article/asp-net-session-state-storing-data-beyond-iis-restarts/
Topics: ASP.NET Core .NET Core
Read articleUnderstanding SQL Execution Plans
csharp.com
https://www.csharp.com/article/understanding-sql-execution-plans/
Topics: Performance SQL Server
Read articleEnhancing Cybersecurity with Azure Sentinel AI-Driven Threat Detection
csharp.com
https://www.csharp.com/article/enhancing-cybersecurity-with-azure-sentinel-ai-driven-threat-detection/
Read article.NET Middleware with Practical Applications and Full Code Samples
csharp.com
https://www.csharp.com/article/net-middleware-with-practical-applications-and-full-code-samples/
Topics: ASP.NET Core .NET Core
Read articleCSharp Teams Up with Hack Heist as Community Partner
csharp.com
https://www.csharp.com/news/csharp-teams-up-with-hack-heist-as-community-partner
Topics: GitHub
Read articleHow to Better Organize Your Program.cs File in ASP.NET Core Apps
canro91.github.io
https://canro91.github.io/2025/03/06/OrganizeProgramDotCs/
Topics: ASP.NET Core .NET Core
Read articleA Simpler Way to Initialize Objects
csharp.com
https://www.csharp.com/article/a-simpler-way-to-initialize-objects/
Read articleML.NET: Bringing Machine Learning to .NET Developers
medium.com
https://medium.com/@Adem_Korkmaz/ml-net-bringing-machine-learning-to-net-developers-7bbac9dc1978
Read articleWhy Dot Net Is Essential for Modern Developers
medium.com
https://medium.com/@zaynhere2025/why-dot-net-is-essential-for-modern-developers-4207aba74a74
Topics: .NET Core
Read articleBuilding a Scalable API Gateway with Ocelot.NET and OpenAPI
medium.com
https://medium.com/asp-dotnet/building-a-scalable-api-gateway-with-ocelot-net-and-openapi-50b071d3b55d
Topics: ASP.NET Core Azure REST API
Read articleUnderstanding Data Transfer Objects (DTOs) in C# .NET: Best Practices & Examples
medium.com
https://medium.com/@20011002nimeth/understanding-data-transfer-objects-dtos-in-c-net-best-practices-examples-fe3e90238359
Read articleEvent Sourcing Architectural Pattern: Naive to Ninja: Part 1 — Basic Implementation
medium.com
https://medium.com/@tanjeerbinhaque/event-sourcing-architectural-pattern-naive-to-ninja-part-1-basic-implementation-20c40ece7b7f
Topics: Domain-Driven Design Event Sourcing
Read articleImmutable vs Mutable in C#: When to Use Each and Why
medium.com
https://medium.com/@mo.shaaban.dev/immutable-vs-mutable-in-c-when-to-use-each-and-why-55826dca172d
Topics: C# Solid Principles
Read articleDynamic Database Web API in .NET 9: Clean Architecture & MediatR for Flexibility
csharp.com
https://www.csharp.com/article/dynamic-database-web-api-in-net-9-clean-architecture-mediatr-for-flexibility/
Topics: Clean Architecture .NET 9 MediatR
Read article.NET API Rate Limiting: Control Traffic Like a Pro
medium.com
https://medium.com/@nagarajvela/net-api-rate-limiting-control-traffic-like-a-pro-40542b889e2b
Topics: ASP.NET Core Performance REST API
Read articleChoosing Between Newtonsoft.Json and System.Text.Json in .NET Projects
medium.com
https://medium.com/@rictorres.uyu/choosing-between-newtonsoft-json-and-system-text-json-in-net-projects-0c1abe189891
Topics: C# Newtonsoft.Json System.Text.Json
Read articleUnderstanding Barrier() and ReadWriteLockSlim() in C# Multithreading
medium.com
https://medium.com/@raindefiance/understanding-barrier-and-readwritelockslim-in-c-multithreading-e864d5bf0dc6
Topics: C# Performance
Read article