Skip to content

Cutting-edge C# library designed to simplify data validation tasks. Whether it's email addresses, phone numbers, custom patterns, or dates, this library provides the utilities you need.

License

AdrianBailador/SmartValidationsLibrary

Repository files navigation

Smart Validations Library

SmartValidationsLibrary is a cutting-edge C# library designed to simplify data validation tasks. Whether it's email addresses, phone numbers, custom patterns, or dates, this library provides the utilities you need.

  • Email Validation: No need to grapple with complicated regular expressions; simply use the IsValidEmail method.
  • Phone Number Validation: With regional flexibility, validate phone numbers with ease using IsValidPhoneNumber.
  • Date Verification: Ensure inputted dates are correctly formatted with the IsValidDate function.
  • Custom Validations: Beyond the built-in validators, you can introduce your own custom patterns and use the IsValidCustom method for validation. You can even add new custom validations on-the-fly with AddCustomValidation.

Features

  • Modern, fluent API for validating various data types.
  • Entity validation using attributes for a cleaner validation process.
  • Region-specific phone number validation.
  • A comprehensive set of validations that can be further expanded based on project needs.
  • Clear, concise exception handling for validation errors.

In a world where data drives decisions, ensuring the integrity and accuracy of that data is crucial. With SmartValidationsLibrary, developers have the tools they need to perform rigorous validation checks efficiently.

Tech Stack

SmartValidationsLibrary harnesses the power of:

  • C#: A modern, object-oriented programming language, perfect for all kinds of applications.
  • Regex: Leveraged for meticulous and precise data validation checks.

Installation

Integrating SmartValidationsLibrary into your project is straightforward:

  1. Add the NuGet package to your solution.
  2. Use the following namespace in your classes:
using SmartValidationsLibrary;

Contribute

Interested in making SmartValidationsLibrary even better? Fantastic!

Here's how you can contribute:

  1. Clone the repository:
git clone https://github.com/AdrianBailador/SmartValidationsLibrary.git
  1. Make your desired changes.
  2. Write tests ensuring the validity of your changes.
  3. Submit a pull request!

Together, we can make data validation smarter.

License

MIT


Links:

About

Cutting-edge C# library designed to simplify data validation tasks. Whether it's email addresses, phone numbers, custom patterns, or dates, this library provides the utilities you need.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages