ASP.NET Core Routing: Attribute Routing, Route Templates, and Constraints
Learn how ASP.NET Core routing works in .NET 10 -- covers attribute routing, route templates, constraints, parameter binding, and URL generation for REST APIs.
In-depth C# and .NET tutorials covering structured logging with Serilog, building Roslyn analyzers, NuGet packaging, and other core language and tooling topics.
Showing 79–84 of 264 articles
Learn how ASP.NET Core routing works in .NET 10 -- covers attribute routing, route templates, constraints, parameter binding, and URL generation for REST APIs.
Master ASP.NET Core Web API in .NET 10 -- learn request pipelines, routing, controllers, JWT authentication, error handling, and deployment strategies.
Learn how UnsafeAccessor in C# (.NET 8+) gives you direct access to private fields, methods, and constructors -- avoids reflection lookup overhead on the hot path, AOT-friendly when the target type and member are statically known at compile time.
Learn how to make C# reflection compatible with Native AOT in .NET 10 using DynamicallyAccessedMembers, RequiresUnreferencedCode, and trim-safe patterns.
Compare C# reflection vs source generators in .NET 10 -- understand performance, AOT compatibility, maintainability trade-offs, and which to use for your use case.
Discover how C# DI containers use reflection to resolve dependencies -- then build a simplified version yourself to understand the internals in .NET 10.