Closed Hierarchies, Passkeys, Agents, gRPC
This issue spans C# 15 patterns, ASP.NET Core passkeys and OAuth mail, gRPC services, SqlClient retries, NuGet package limits, and AI agent tooling.
Jasen's top three picks
- 1 C# 15 Closed Hierarchies: Comparing Exhaustive Pattern Matching with Traditional Polymorphism
c-sharpcorner.com
Useful if you want to reason about when exhaustive matching clarifies intent better than classic virtual dispatch.
- 2 Send Gmail Emails from ASP.NET Core Using OAuth 2.0, Refresh Token and MailKit
c-sharpcorner.com
Good practical auth plumbing for teams that need Gmail SMTP without falling back to app passwords.
- 3 AI Integration in .NET
medium.com
Broad AI integration checklist: abstractions, observability, evaluation, and security all in one place.
Editor's note
I kept this one intentionally mixed, which is usually where the best newsletter issues land. The C# 15 closed hierarchies piece is a solid language-design discussion, and the NuGet package restrictions article is the kind of practical supply-chain hardening more teams should understand. I also liked the passkeys walkthrough because it explains the mechanics rather than stopping at a demo.
Today's articles
C# 15 Closed Hierarchies: Comparing Exhaustive Pattern Matching with Traditional Polymorphism
c-sharpcorner.com
Compare C# 15 closed hierarchies and exhaustive pattern matching with traditional polymorphism, including type safety, maintainability, and performance.
Read articleSend Gmail Emails from ASP.NET Core Using OAuth 2.0, Refresh Token and MailKit
c-sharpcorner.com
Learn how to send Gmail emails from ASP.NET Core using Google OAuth 2.0, refresh tokens, MailKit, MimeKit, and Gmail SMTP without storing a Gmail password.
Topics: ASP.NET Core Authentication OAuth
Read articleAI Integration in .NET
medium.com
How to use provider-neutral abstractions, structured outputs, tool calling, resilience, observability, evaluation, and secure application…
Topics: OpenAI OpenTelemetry Security
Read articleASP.NET Core 11 Static SSR: Measuring Performance and HTML Payload Size
c-sharpcorner.com
Benchmark ASP.NET Core 11 Static SSR to measure server performance, time to first byte, HTML payload size, and resource usage in web applications.
Topics: ASP.NET Core .NET 10 Performance
Read articleChatClient Middleware vs Agent Middleware in Microsoft Agent Framework: What I Learned After…
topuzas.medium.com
I ran into Jesse Liberty’s post on ChatClient middleware versus Agent middleware a couple of weeks ago, right when I was wiring up logging…
Topics: GitHub Copilot OpenAI Semantic Kernel
Read articlePasskeys in ASP.NET Core 10
csharpdigest.net
how registration and sign-in actually work under the hood
Topics: ASP.NET Core Authentication Security
Read articleBuilding a Real-Time Monitoring & Control Platform
medium.com
How I approached telemetry ingestion, UI responsiveness, licensing, and native desktop packaging for a real-time control platform for…
Topics: Application Insights Azure WPF
Read articleThe Best Guide On The Internet To Know About The Top 5 C# Projects - Simplilearn.com
simplilearn.com
The Best Guide On The Internet To Know About The Top 5 C# Projects Simplilearn.com
Topics: C#
Read articleHow to Build a gRPC Service in .NET from Scratch
c-sharpcorner.com
Learn how to build a gRPC service in .NET from scratch using Protocol Buffers, ASP.NET Core, dependency injection, repositories, generated clients, HTTP/2, and shared contracts for microservices.
Topics: ASP.NET Core gRPC Web API
Read articleTry the new SqlClient and Retry connections natively
devblogs.microsoft.com
The 2002 release of the original .NET Framework shipped ADO.NET and System.Data.SqlClient, the driver for SQL Server that gave .NET applications a standard connection approach. Over the years, updates...
Topics: Azure .NET Framework SQL Server
Read articleFrom dotnet run to Foundry Hosted Agent in 3 lines of C#
devblogs.microsoft.com
A couple of weeks ago I was talking with a couple of friends who are building agents with Microsoft Agent Framework. The demos were great, the agents were smart, everyone was happy. And then one of th...
Topics: Azure OpenAI Semantic Kernel
Read articleLimit what NuGet packages can do in your project
meziantou.net
When you add a NuGet package to a project, you often think about the runtime library only. In reality, packages can also import MSBuild props/targets and Roslyn analyzers. Those assets run during rest...
Topics: GitHub Roslyn Security
Read articleYour ASP.NET Core Endpoints Don't Have a Timeout
milanjovanovic.tech
ASP.NET Core doesn't enforce an application timeout on incoming requests by default. The built-in middleware can add one, but it only cancels RequestAborted.
Topics: ASP.NET Core Performance Web API
Read article