News

Create a validation endpoint in ASP.NET Core To validate input data, you can create a HTTP Post endpoint named /validateauthor as shown in the code snippet given below.
Figure 1: Model validation in a minimal API in ASP.NET Core 6 using the FluentValidation library. You can also apply custom validators using the IValidatableObject interface.