Minimal APIs, null safety, and performance tips
A varied .NET roundup with tips, ASP.NET Core patterns, EF Core raw SQL, SQL Server tuning, Azure OpenAI identity, and .NET Aspire.
Jasen's top three picks
- 1 5 C# And .NET Tips & Tricks — February 2025
medium.com
Quick hits for sharpening daily C# habits and avoiding null-related bugs.
- 2 C# Null Safety: Write Robust and Error-Free Code
medium.com
A solid ASP.NET Core section: idempotency, minimal API filters, and CQRS structure all show up here.
- 3 Idempotency in ASP.NET - How to make a resilient application
medium.com
The platform pieces are timely too, especially Dapr, Aspire, and the Azure OpenAI managed identity post.
Editor's note
I pulled together a pretty practical mix this time: everyday C# tips, ASP.NET Core architecture and filters, plus data and platform pieces. The EF Core raw SQL guide and the SQL Server memory-optimized tables article are especially useful if you’re chasing real-world performance. I also included newer platform coverage like Dapr, .NET Aspire, and the Azure OpenAI managed identity piece because they’re becoming part of the standard .NET conversation.
Today's articles
5 C# And .NET Tips & Tricks — February 2025
medium.com
https://medium.com/@kenslearningcurve/5-c-and-net-tips-tricks-february-2025-b70a49775978
Read articleC# Null Safety: Write Robust and Error-Free Code
medium.com
https://medium.com/@nagarajvela/c-null-safety-write-robust-and-error-free-code-72ad127fff41
Read articleIdempotency in ASP.NET - How to make a resilient application
medium.com
https://medium.com/@denmaklucky/idempotency-in-asp-net-how-to-make-a-resilient-application-1a56c0a5b734
Topics: ASP.NET Core Minimal APIs
Read articleMongoDB as .NET Configuration Provider
medium.com
https://medium.com/@vosarat1995/mongodb-as-net-configuration-provider-a7dabd5bb847
Read articleDependency Management with NuGet Central Package Management
csharp.com
https://www.csharp.com/blogs/dependency-management-with-nuget-central-package-management
Topics: .NET Core
Read articleMastering ASP.NET Core with Minimal APIs & CQRS -Part 05: CQRS & Mediator — Class Structure
sasangaedirisinghe.medium.com
https://sasangaedirisinghe.medium.com/mastering-asp-net-core-with-minimal-apis-cqrs-part-05-cqrs-mediator-class-structure-381f4929bad3
Topics: ASP.NET Core MediatR Minimal APIs
Read articleThe Ultimate Guide to MVC, MVP, MVVM, MVVM-C, and VIPER Architecture Patterns
medium.com
https://medium.com/@ashokreddy343/the-ultimate-guide-to-mvc-mvp-mvvm-mvvm-c-and-viper-architecture-patterns-bf416e6dc070
Topics: Design Patterns .NET Core
Read articleHands On: New VS Code Insiders Build Creates Web Page from Image in Seconds
visualstudiomagazine.com
https://visualstudiomagazine.com/Articles/2025/02/20/VS-Code-Insiders-Creates-Web-Page-from-Image-in-Seconds.aspx
Topics: GitHub Copilot Visual Studio Code
Read articleNext Edit Suggestions for GitHub Copilot in action
youtube.com
https://www.youtube.com/watch?v=zPUvU6XYhpw
Topics: GitHub Copilot Visual Studio Code
Read articleASP.NET Core Minimal APIs: Filter Strategies
medium.com
https://medium.com/@FitoMAD/asp-net-core-minimal-apis-filter-strategies-def68712da73
Topics: ASP.NET Core Minimal APIs
Read articleIntroduction to Dapr for .NET Developers
milanjovanovic.tech
https://www.milanjovanovic.tech/blog/introduction-to-dapr-for-dotnet-developers
Read articleIntroduction to .NET Aspire
visualstudiomagazine.com
https://visualstudiomagazine.com/Articles/2025/02/19/Introduction-to-NET-Aspire.aspx
Topics: .NET Aspire .NET Core
Read articleBoost SQL Server Performance with Memory-Optimized Tables
csharp.com
https://www.csharp.com/article/boost-sql-server-performance-with-memory-optimized-tables/
Topics: Performance SQL Server
Read articleEF Core 8 & .NET 9 Raw SQL Queries: The Ultimate Guide to Unmapped Types
medium.com
https://medium.com/@ashokreddy343/ef-core-8-net-9-raw-sql-queries-the-ultimate-guide-to-unmapped-types-1837b225afe2
Topics: .NET 9 EF Core SQL Server
Read article.NET in 2025
medium.com
https://medium.com/@riturajpokhriyal/net-in-2025-922ec88d358a
Topics: .NET Core
Read articleDotnet build: Conditionally generate your swagger file
medium.com
https://medium.com/@woeterman_94/dotnet-build-conditionally-generate-your-swagger-file-46a8796d5783
Topics: ASP.NET Core .NET Core
Read articleGo passwordless when calling Azure OpenAI from Azure SQL using Managed Identities
devblogs.microsoft.com
https://devblogs.microsoft.com/azure-sql/go-passwordless-when-calling-azure-openai-from-azure-sql-using-managed-identities/
Read articleMicrosoft .NET Code Analysis: Optimizing JSON Serialization with Cached Options
dotnettips.wordpress.com
https://dotnettips.wordpress.com/2025/02/26/microsoft-net-code-analysis-optimizing-json-serialization-with-cached-options/
Topics: Performance System.Text.Json
Read article10 Essential Development Tips for ASP.NET Core
csharp.com
https://www.csharp.com/article/10-essential-development-tips-for-asp-net-core/
Topics: ASP.NET Core Web API
Read article