Web APIs, testing, and performance
Issue #177 mixes API pitfalls, unit and contract testing, C# performance tips, EF Core tuning, and new .NET tooling and cloud integrations.
Jasen's top three picks
- 1 Wage Calculator in C# — Part 2: Overtime Logic
Medium
A hands-on follow-up on overtime logic that reminds us domain rules get tricky fast.
- 2 TOP 15 Mistakes Developers Make When Creating Web APIs
Medium
A solid roundup of API mistakes; worth skimming if you build or review public endpoints.
- 3 Interface Segregation Principle (ISP)
C# Corner
A clear refresher on ISP that pairs nicely with the testing-heavy articles in this issue.
Editor's note
I curated a pretty balanced mix this time: practical API guidance, architecture patterns, and a few performance-focused reads. The MCP server piece stands out for anyone experimenting with AI tooling in .NET, while the sequential GUID and EF Core articles are immediately useful in production code.
Today's articles
Wage Calculator in C# — Part 2: Overtime Logic
Medium
https://medium.com/@fulton_shaun/wage-calculator-in-c-part-2-overtime-logic-3d4da28ca575
Topics: C#
Read articleTOP 15 Mistakes Developers Make When Creating Web APIs
Medium
https://medium.com/c-sharp-programming/top-15-mistakes-developers-make-when-creating-web-apis-3837fcbf4b59
Topics: Web API
Read articleInterface Segregation Principle (ISP)
C# Corner
https://www.c-sharpcorner.com/article/interface-segregation-principle-isp2/
Topics: Solid Principles
Read articleThe Critical Importance of Unit Testing for APIs in C#.NET Development
Medium
https://medium.com/@S_Jathurshan/fae31535ff63
Topics: Unit Testing Web API
Read articleVibe Coding with Latest Visual Studio Preview
Visual Studio Magazine
https://visualstudiomagazine.com/articles/2025/03/26/vibe-coding-with-latest-visual-studio-preview.aspx
Topics: GitHub Copilot Visual Studio
Read article11 Rules for Writing Better Code in C#
Medium
https://medium.com/c-sharp-programming/11-rules-for-writing-better-code-in-c-a6ebaf506f70
Topics: C# Solid Principles
Read articleBuild a Model Context Protocol (MCP) server in C#
Microsoft Dev Blogs
https://devblogs.microsoft.com/dotnet/build-a-model-context-protocol-mcp-server-in-csharp/
Read articleWhy would I add vectors to a relational database?
YouTube
https://www.youtube.com/watch?v=vHhKEN7Ru_k
Topics: PostgreSQL SQL Server
Read article10 Costly HttpClient Mistakes in C#.NET (And How to Fix Them Like a Pro)
Medium
https://medium.com/@ashokreddy343/10-costly-httpclient-mistakes-in-c-net-and-how-to-fix-them-like-a-pro-96f08a38a833
Topics: Performance Web API
Read articleHow to Generate Sequential GUIDs in .NET
Medium
https://medium.com/@michaelmaurice410/how-to-generate-sequential-guids-in-net-2ee0a6a120b9
Topics: C# Performance
Read articleBuilding a Serverless ASP.NET Core Web API using AWS Lambda and Amazon API Gateway (REST API)
Medium
https://cloudgurupayments.medium.com/building-a-serverless-asp-net-core-web-api-using-aws-lambda-and-amazon-api-gateway-rest-api-ea86ada61943
Topics: ASP.NET Core Azure REST API
Read articleVertical Slice Architecture In .NET using Cortex.Mediator and Minimal APIs
Medium
https://medium.com/@eneshoxha_65350/vertical-slice-architecture-in-net-using-cortex-mediator-and-minimal-apis-dd7fe575d46a
Topics: Clean Architecture MediatR Minimal APIs
Read articleInterface Contract Testing: A Reusable Test Suite for Interface-First Design in C#
Medium
https://medium.com/@asher.garland/interface-contract-testing-a-reusable-test-suite-for-interface-first-design-in-c-31ad3da331a9
Topics: C# Unit Testing
Read articleCreating Business Applications Using Blazor
Visual Studio Magazine
https://visualstudiomagazine.com/Articles/2025/04/08/Creating-Business-Applications-Using-Blazor.aspx
Topics: Blazor
Read article.NET Aspire and Azure Functions integration preview
Microsoft Dev Blogs
https://devblogs.microsoft.com/visualstudio/net-aspire-and-azure-functions-integration-preview/
Topics: .NET Aspire Azure Azure Functions
Read articleEntity Framework Core Tips: Reduce SQL Server Size and Improve Performance
Medium
https://medium.com/@yusufsarikaya023/entity-framework-core-tips-reduce-sql-server-size-and-improve-performance-77e650ae1ec2
Topics: EF Core Performance SQL Server
Read articleC# String vs. StringBuilder vs. Span — What’s the Best for Performance?
Medium
https://medium.com/write-a-catalyst/c-string-vs-stringbuilder-vs-span-whats-the-best-for-performance-f1d050a6c02d
Topics: C# Performance
Read article