Repository navigation
ValidationsGeneral v1.0.0 – Initial Release
Pre-release
Pre-release
🎉 First stable release of the ValidationsGeneral library!
This version includes a complete set of reusable validation strategies for general-purpose application development. Built with .NET 8, designed for clean integration and support for Dependency Injection.
🚀 Features
✅ Identity Validation
- CPF
- CNPJ
💳 Financial Validation
- Credit Card (Luhn algorithm)
📞 Contact Validation
- Phone Number
- IP Address
- URL
🌍 Location Validation
- ZIP/Postal Code
- Country Code (ISO)
- Timezone
📆 Date & Time Validation
- ISO 8601 format
- Custom format
- Date range (with and without custom format)
- Age validation
🧩 Architecture
- Fully modular strategy pattern for validations
- Support for Dependency Injection via
AddValidationStrategies()extension ValidatorFactoryfor dynamic instantiationIsValid()extension for cleaner syntax
📦 NuGet Package
➡️ ValidationsGeneral on NuGet.org
Thanks for checking out the project! Feel free to contribute or report any issues 💜