FluentValidation Fundamentals
This course will teach you how to use FluentValidation library to perform validation in ASP.NET Core applications. FluentValidation is a free and open-source library developed by Jeremy Skinner at https://fluentvalidation.net
What you'll learn
Input validation is a vast and complicated topic, and it’s often unclear what tools to use and best practices to follow in this area. In this course, FluentValidation Fundamentals, you’ll learn to perform validation in ASP.NET Core applications. First, you’ll explore the features of the FluentValidation library. Next, you’ll discover how to combine them with DDD best practices. Finally, you’ll learn how to use attributes as an alternative to the library. When you’re finished with this course, you’ll have the skills and knowledge of validation and the FluentValidation library needed to perform validation in any ASP.NET Core application. FluentValidation is developed by Jeremy Skinner.
Table of contents
- Introduction 0m
- Validating Simple Properties 6m
- Recap: Validating Simple Properties 2m
- Validating Complex Properties 9m
- Recap: Validating Complex Properties 1m
- Validating Collections 7m
- Recap: Validating Collections 1m
- Inheritance Validation 2m
- Rule Sets 7m
- Recap: Inheritance Validation and Rule Sets 3m
- Throwing Exceptions 2m
- Summary 2m
- Introduction 0m
- Conditional Validation 7m
- Recap: Conditional Validation 1m
- Changing the Cascade Mode 4m
- Recap: Changing the Cascade Mode 2m
- Integrating FluentValidation into ASP.NET Pipeline 7m
- Automating Model State Checks 3m
- Recap: Integrating FluentValidation into ASP.NET Pipeline 2m
- Custom Validation Rules 4m
- Recap: Custom Validation Rules 1m
- Summary 1m
- Introduction 1m
- Always-valid Domain Model 6m
- Not-always-valid Domain Model and Primitive Obsession 7m
- Introducing Value Objects: The First Take 4m
- What Is Validation? 5m
- Introducing Value Objects: The Proper Approach 5m
- Recap: Always-valid Domain Model and Validation 5m
- Validation vs. Invariants 6m
- How to Handle Validation Rules in the Domain Layer? 1m
- Summary 3m
- Introduction 1m
- Combining FluentValidation with Value Objects 6m
- Recap: Combining FluentValidation with Value Objects 3m
- The Difference in Validation Implementations 3m
- Validation Is Parsing 5m
- Validating Complex Data 7m
- Validating Using Data from the Database 7m
- Recap: Validating Complex Data 6m
- Summary 3m