Back to Browse

Validate, Parse, Guard

4.8K views
Mar 11, 2025
12:35

Validate, Parse, Guard Hey everyone, I'm Ardalis (aka Steve Smith), of NimblePros! Today we're going to look at the alternative to validating everywhere, and a simple pattern you can adopt called Validate, Parse, Guard (VPG). Using Validate, Parse, Guard you can avoid a proliferation of redundant validation checks in your apps while ensuring only valid data makes it into your system. Win-win! ## Links - https://www.youtube.com/watch?v=dpPcnAT7n7M&t=2s&ab_channel=Ardalis - https://deviq.com/practices/parse-dont-validate - https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/ - https://github.com/SteveDunn/Vogen ## Check out my courses: https://academy.nimblepros.com (use code EARLYACCESS for 60% off latest) https://dometrain.com/course/getting-started-asp-dotnet-core/?affcode=1115529_gyvpazys&coupon_code=ARDALIS https://dometrain.com/course/from-zero-to-hero-microservices-to-modular-monoliths/?affcode=1115529_gyvpazys&coupon_code=ARDALIS https://dometrain.com/course/getting-started-modular-monoliths-in-dotnet/?affcode=1115529_gyvpazys&coupon_code=ARDALIS https://dometrain.com/course/deep-dive-modular-monoliths-in-dotnet/?affcode=1115529_gyvpazys&coupon_code=ARDALIS https://ardalis.com/training-classes/ https://www.pluralsight.com/authors/steve-smith Team Consulting and Training: https://NimblePros.com and @nimblepros Developer Group Mentoring: https://devBetter.com Free Weekly Email Tips: https://ardalis.com/tips/ If you read this far, I hope you *liked* this video and will consider subscribing to my channel! Or if you already subscribe, how about adding @NimblePros ? Find me: https://bsky.app/profile/ardalis.com https://ardalis.com https://github.com/ardalis https://www.linkedin.com/in/stevenandrewsmith #ardalis #stevesmith #dotnet #csharp #programming #nimblepros #visualstudio #parse #validate #validation #minimalapi #patterns #guard #guardclauses #vogen #valueobjects Keep Improving!

Download

1 formats

Video Formats

360pmp422.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Validate, Parse, Guard | NatokHD