Minimal APIs, Azure AI, and clean architecture
A varied .NET roundup covering Minimal APIs, Aspire and GitHub Models, security, performance, and architecture patterns for real-world apps.
Jasen's top three picks
- 1 The Beauty of Marker Interfaces and Reflection in .NET
medium.com
Marker interfaces plus reflection: a handy pattern when you need uniform handling without hard-coding every type.
- 2 When to Use Generic vs Non-Generic Collections in C#
mariemoalla.medium.com
A solid refresher on choosing generic collections, with enough basics to help newer devs avoid old-school non-generic traps.
- 3 Everything You Need to Know About Minimal APIs in .NET
mariemoalla.medium.com
Minimal APIs are still the fastest path to a clean HTTP surface in .NET when you don't need the overhead.
Editor's note
I curated a pretty mixed issue this time: practical API work, architecture, security, and a healthy dose of AI. The Aspire + GitHub Models piece stands out for showing how quickly you can wire up a useful workflow, and the cancellation token article is a good reminder that async correctness still bites experienced teams.
Today's articles
The Beauty of Marker Interfaces and Reflection in .NET
medium.com
In software architecture, it’s often necessary to identify and process specific groups of classes in a uniform manner. Common scenarios…
Topics: C# Design Patterns
Read articleWhen to Use Generic vs Non-Generic Collections in C#
mariemoalla.medium.com
Collections are a fundamental part of any application that manages data. In C#, you have two primary options for working with collections…
Read articleEverything You Need to Know About Minimal APIs in .NET
mariemoalla.medium.com
Minimal APIs are a lightweight way to build HTTP APIs in .NET with minimal ceremony. Introduced in .NET 6, they focus on simplicity, and…
Topics: ASP.NET Core Minimal APIs Web API
Read articleRestricting Login by IP Address in ASP.NET
c-sharpcorner.com
Secure your ASP.NET admin panel by restricting login access to specific IP addresses. Learn how to configure web.config and implement C# code to allow only trusted IPs for better security.
Topics: ASP.NET Core Authentication Security
Read article7 HIPAA-Compliant .NET SaaS Patterns for Healthcare Startups
faciletechnolab.com
Discover battle-tested .NET patterns for HIPAA-compliant healthcare SaaS. Learn encryption, audit logging, and access control strategies to avoid big penalties on violations.
Topics: ASP.NET Core Clean Architecture Security
Read articleThe Art of Disposal: Mastering IDisposable in C#
blog.stackademic.com
Avoid leaks and write robust, maintainable .NET applications like a pro Continue reading on Stackademic »
Topics: C# .NET Core Performance
Read articleEverything You Need to Know About the Latest in C#
youtube.com
Async EF Core: Supercharging Queries with ValueTask & AsNoTracking
Topics: C# EF Core Performance
Read articleThe Core of Onion Architecture: Keeping Business Logic Pure in .NET
medium.com
Layered Architecture Patterns for Modern ASP.NET Core
Topics: ASP.NET Core Clean Architecture Domain-Driven Design
Read articleWhat is Binary Search Algorithm and How It Works with Examples.
c-sharpcorner.com
Understand the Binary Search algorithm in depth — how it works, step-by-step process, real-world use cases, and practical Java examples. Perfect for beginners and intermediate learners in Data Structu...
Read article.NET Migration Checklist for Enterprise Apps
grapestech-solutions.medium.com
Migrating enterprise applications to a newer .NET version requires careful planning to minimize risks and maximize benefits. A structured…
Topics: Azure .NET 8 .NET Core
Read articleBuilding Generative AI Applications With GitHub Models and .NET Aspire
milanjovanovic.tech
The entire thing took less than an hour to build thanks to .NET Aspire 9.4 and it's new GitHub Models integration. It fetches any blog post, extracts the content, and uses AI to automatically categori...
Topics: .NET Aspire GitHub OpenAI
Read articleThe Best Frameworks for .NET Development: A Comprehensive Guide
medium.com
In the ever-evolving landscape of software development, .NET has emerged as a powerful framework that enables developers to create robust…
Read article9 AI-Powered .NET SaaS Features Revolutionizing Healthcare
faciletechnolab.com
Discover how .NET-driven AI features like clinical documentation automation and predictive risk scoring are revolutionizing healthcare SaaS. Cut costs 40% and improve outcomes.
Topics: ASP.NET Core Azure OpenAI
Read articleDifference Between ref, out, and in Parameters in C#
c-sharpcorner.com
Learn the difference between ref, out, and in parameters in C#. Understand their usage, advantages, disadvantages, and see full real-world examples.
Read articleAZURE APPLICATION INSIGHTS IN ASP.NET CORE
medium.com
Today’s world is compact and covering physical space is an issue not for humans but also for 0 and 1 which is nothing but a representation…
Topics: Application Insights ASP.NET Core Azure
Read articleEnterprise ASP.NET Core Web API with Clean Architecture
c-sharpcorner.com
Learn to build scalable, maintainable Enterprise ASP.NET Core Web APIs using Clean Architecture principles, focusing on separation of concerns, testability, and modular design for high-performance ent...
Topics: ASP.NET Core Clean Architecture Web API
Read articleFrom “Why won’t this button do anything?” to Clean Blazor Callbacks (Server & WASM)
blog.venturemagazine.net
I still remember shipping a “simple” child form and wondering why nothing updated in the parent. Spoiler: I’d passed an Action when I… Continue reading on Venture »
Topics: ASP.NET Core Blazor C#
Read articleWhy Your CancellationToken Doesn’t Actually Cancel Anything (Most of the Time) — And the…
blog.devgenius.io
🧠 Why This Blog Matters Every .NET dev has written something like this: Continue reading on Dev Genius »
Topics: C# .NET Core Performance
Read articleHow I Cut My .NET Web App Load Time by 73% with Azure CDN — And How You Can Too
medium.com
Discover the exact configuration, caching strategies, and deployment tweaks that transformed a sluggish .NET app into a lightning-fast…
Topics: Azure .NET Core Performance
Read articleFeature Flags in .NET 8 and Azure
c-sharpcorner.com
This article describes the importance of feature flags and how they change the way we develop applications while reducing the risk of regressions.
Read articleBuilding an AI-Powered Chat Application in .NET Using Ollama Server
medium.com
Artificial Intelligence (AI) has become a transformative force across industries, and its integration into software applications is no…
Topics: .NET Core .NET MAUI OpenAI
Read articleMessaging Made Simple: Choosing the Right Framework for .NET
visualstudiomagazine.com
In this session preview, Roy Cornelissen explains how messaging frameworks like NServiceBus, MassTransit, Dapr, and Wolverine can help .NET teams build scalable, event-driven applications — and how to...
Topics: Kafka RabbitMQ Service Bus
Read articleC# Extension Methods Every Corporate Developer Wishes They Had
medium.com
We’ve all been there — drowning in enterprise code that feels like it was written during the Roman Empire, sprinkled with copy-paste…
Topics: C# Design Patterns .NET Core
Read article