If you're building Minimal APIs, you might want to incorporate something similar to model binding in your code. In this video, I show you how to use Fluent Validation and Endpoint Filters to accomplish this. Let's look at it:
00:00 - Introduction
00:46 - Getting Started
01:49 - Installing Fluent Validation
02:37 - Creating a Validator
05:02 - Using Validation in an API
08:04 - Moving to Endpoint Filters
11:03 - Creating a Generic Endpoint Filter
15:39 - Wrapping Up
Source Code: https://github.com/shawnwildermuth/co...
If you like this video, you might like other videos in my Instructional Videos:
- • Instructional Videos
You can hire me too! You can reach me at my new website:
- https://shawn.wildermuth.com