ASP.NET Core 10.0: Custom Validation Support for Minimal APIs
Explains how to implement custom validation in ASP.NET Core 10.0 Minimal APIs using ValidationAttribute and IValidatableObject.
Explains how to implement custom validation in ASP.NET Core 10.0 Minimal APIs using ValidationAttribute and IValidatableObject.
ASP.NET Core 10.0 introduces built-in validation support for Minimal APIs, covering route parameters, query strings, headers, and request bodies.
Explains how to use data annotation validation for incoming models in ASP.NET 10 Minimal APIs, highlighting differences from Controllers.
Explains how to implement Server-Sent Events (SSE) in ASP.NET Core Minimal APIs with .NET 10, comparing SSE to SignalR and providing a practical example.
A guide to setting HTTP headers when using RazorComponentResult to render Blazor components from ASP.NET Core Minimal APIs.
Explains how to implement global endpoint filters for ASP.NET Core Minimal APIs, offering a cleaner alternative to middleware.
Introducing RazorSlices, a project that brings Razor view functionality to ASP.NET Core Minimal APIs, allowing developers to render Razor views in a lightweight way.
Explores the concept of discriminated unions in C#, their implementation using generic Results classes, and their application in ASP.NET Core Minimal APIs.
A tutorial on generating sitemaps for ASP.NET Core applications using an open-source library, covering MVC, Minimal APIs, Razor Pages, and Entity Framework Core.
A guide to creating fake HTTP endpoints for UI prototyping using ASP.NET Core Minimal APIs and the Bogus library.
A tutorial on testing ASP.NET Core Minimal APIs using xUnit, covering unit and integration tests for endpoints.
A developer shares how testing ASP.NET Core previews led to finding and fixing a critical deadlock issue before the final .NET 6 release.
A guide on fixing JSON deserialization issues when migrating from Newtonsoft.Json to System.Text.Json in .NET 6 Web APIs.
Explains how to integrate ASP.NET Core Minimal APIs with Razor Pages for efficient JSON data handling in web applications.
A guide to integrating .NET 6's JSON source generator for improved performance in ASP.NET Core Minimal APIs, including a custom extension method.
Guide on adapting functional tests for ASP.NET 6 Minimal Web APIs by referencing the internal Program class.
Explores ASP.NET 6.0 Minimal APIs, discussing their benefits, addressing common concerns, and comparing them to traditional MVC.
Explains how to implement custom model binding for complex objects in ASP.NET 6.0 Minimal APIs using BindAsync and TryParse.
A guide to transitioning from traditional ASP.NET Core MVC to the new lightweight Minimal APIs introduced in ASP.NET Core 6.0.
How to build lightweight ASP.NET Core APIs using only essential packages, avoiding unnecessary website-related dependencies.