Role-Based Authorization in ASP.NET Core - A .NET 10 Guide
Implement role-based authorization in ASP.NET Core .NET 10 - add roles to JWTs, protect Minimal API endpoints with RequireRole, and fix roles that won't map.
Showing 25-36 of 150 articles
Implement role-based authorization in ASP.NET Core .NET 10 - add roles to JWTs, protect Minimal API endpoints with RequireRole, and fix roles that won't map.
A practical 2026 guide to the AWS services every .NET developer should know - compute, storage, databases, messaging, security, and AI - now with .NET 10 Lambda support.
Learn how to upload, download, and delete files in AWS S3 using ASP.NET Core and .NET 10 with AWS SDK V4, Minimal APIs, presigned URLs, and IAM best practices.
Validate MediatR commands centrally in the pipeline with FluentValidation and IExceptionHandler in ASP.NET Core .NET 10 - clean handlers, one Problem Details response.
Data Annotations fall apart on complex rules. Use FluentValidation 12 in ASP.NET Core .NET 10 - endpoint filters, async validators, custom rules, and when to switch.
Master IExceptionHandler in ASP.NET Core. Complete guide with custom exceptions, handler chaining, Problem Details, and .NET 10's SuppressDiagnosticsCallback.
Implement refresh tokens in ASP.NET Core .NET 10 - token rotation, reuse detection, revocation, and where to store them, built on top of JWT authentication.
Implement JWT authentication in ASP.NET Core .NET 10 - generate signed tokens with JsonWebTokenHandler, secure Minimal API endpoints, and add role-based authorization.
Set up Serilog the right way in ASP.NET Core .NET 10 - sinks, enrichers, OpenTelemetry, correlation IDs, and production-ready config you can copy and paste.
I have shipped 50+ .NET APIs and most did not need a Repository Pattern. My sharp .NET 10 verdict on when to use it, when to skip it, what to use instead.
A complete, junior-friendly guide to Clean Architecture in .NET 10. Build a movie API across Domain, Application, Infrastructure, and API layers with EF Core and Aspire.
Production-grade rate limiting in ASP.NET Core .NET 10. All 4 algorithms, partitioning, Redis backplane, OnRejected with Retry-After, multi-tenant tiers, and a real decision matrix.