FluentValidation in swagger web api | Validate the user inputs in Asp.net Core Web API 6.0

Опубликовано: 28 Сентябрь 2024
на канале: Aone Coding
4,714
51

In this I have driven the overview and implementation of FluentValidation in Asp.Net Core 6.0 web api.

By using the fluent validation we can validate the user inputs which our API has to perform operations. From this validation user cannot enter/provide the wrong or incorrect input to the api.

Before getting the result, our api validates the input and generate the error message based on that input. User can see the error and provide the valid input to the api endpoint.

Here are some learning tutorials
   • What is LaunchSetting.json in Asp.Net...