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.
- Video Starter Code: https://1drv.ms/u/s!At1NLb9LVKy4h7Q1KXAltLY3yOO6uA
- Video Completed Code: https://1drv.ms/u/s!At1NLb9LVKy4h7Q0Vw1NrcACPP6ouQ
- Sign up for my mailing list here: https://iamtimcorey.com/general-sign-up (your email will be kept safe and you will not be spammed).