Загрузка страницы

Fluent Validation in C# - The Powerful Yet Easy Data Validation Tool

Full courses: https://www.iamtimcorey.com/
Blog Post: https://www.iamtimcorey.com/blog/24715/fluent-validation
Patreon: https://patreon.com/IAmTimCorey
Newsletter signup: https://signup.iamtimcorey.com/

Data validation is extemely important. The problem is that it can create a lot of excess code. Plus you end up in the position of having similar validation code throughout your application, violating the DRY principle. In this video, I am going to introduce you to Fluent Validation, a free tool to help make your validation clean, easy to create, and easy to maintain. As a bonus, it even works on models that you don't own and cannot change.

0:00 - Intro
1:00 - Demo application walk-through
2:56 - User input validation
6:04 - Where to put data validation
7:07 - Fluent Validation: adding a reference
9:19 - Implementing Fluent Validation
18:23 - More rules for validation: String length
20:00 - Validation custom error messages
22:28 - Cascading validation errors
23:29 - Input validation: allowed characters
28:44 - Fluent Validation built-in variable names: updating error messages
34:08 - CascadeMode scope
35:49 - DateTime validation
40:41 - Recap and concluding remarks

Видео Fluent Validation in C# - The Powerful Yet Easy Data Validation Tool канала IAmTimCorey
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
10 декабря 2018 г. 18:00:04
00:43:58
Другие видео канала
Entity Framework Best Practices - Should EFCore Be Your Data Access of Choice?Entity Framework Best Practices - Should EFCore Be Your Data Access of Choice?The log4net Tutorial: Logging in C# (hands-on from beginner to advanced)The log4net Tutorial: Logging in C# (hands-on from beginner to advanced)WPF Data Validation - Exception, IDataErrorInfo, ValidationRule, & AnnotationsWPF Data Validation - Exception, IDataErrorInfo, ValidationRule, & AnnotationsC# DataAnnotations explained ( C# Interview questions)C# DataAnnotations explained ( C# Interview questions)Design Patterns: Single Responsibility Principle Explained Practically in C# (The S in SOLID)Design Patterns: Single Responsibility Principle Explained Practically in C# (The S in SOLID)SQL Stored Procedures - What They Are, Best Practices, Security, and More...SQL Stored Procedures - What They Are, Best Practices, Security, and More...Top 10 Hidden Gems in Visual Studio - Speed Up Development Without Increasing Your CostsTop 10 Hidden Gems in Visual Studio - Speed Up Development Without Increasing Your CostsImplementing INotifyDataErrorInfo (View Model Data Validation) - EASY WPF (.NET CORE)Implementing INotifyDataErrorInfo (View Model Data Validation) - EASY WPF (.NET CORE)C# Async / Await - Make your app more responsive and faster with asynchronous programmingC# Async / Await - Make your app more responsive and faster with asynchronous programmingC# Generics - What they are, why they are useful, and how to create themC# Generics - What they are, why they are useful, and how to create themValidating requests with FluentValidation | ASP.NET Core 5 REST API Tutorial 21Validating requests with FluentValidation | ASP.NET Core 5 REST API Tutorial 21Design Patterns: Don't Repeat Yourself in C#Design Patterns: Don't Repeat Yourself in C#SQL Data Tools In C# - Database Creation, Management, and Deployment in Visual StudioSQL Data Tools In C# - Database Creation, Management, and Deployment in Visual Studio10 C# Libraries To Save You Time And Energy10 C# Libraries To Save You Time And EnergyWorking With The File System in C# - Managing Folders and FilesWorking With The File System in C# - Managing Folders and FilesValidation using MediatR's Pipeline Behaviors and FluentValidation | Clean .NET CoreValidation using MediatR's Pipeline Behaviors and FluentValidation | Clean .NET CoreHandling Exceptions in C# - When to catch them, where to catch them, and how to catch themHandling Exceptions in C# - When to catch them, where to catch them, and how to catch themDesign Patterns: Liskov Substitution Principle Explained Practically in C# (The L in SOLID)Design Patterns: Liskov Substitution Principle Explained Practically in C# (The L in SOLID)C# Desktop App Deployment with Squirrel - Easier than MSI Files, Better than ClickOnceC# Desktop App Deployment with Squirrel - Easier than MSI Files, Better than ClickOnceDesign Patterns: Dependency Inversion Principle Explained Practically in C# (The D in SOLID)Design Patterns: Dependency Inversion Principle Explained Practically in C# (The D in SOLID)
Яндекс.Метрика