Bikiran.Validation
1.0.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Bikiran.Validation --version 1.0.5
NuGet\Install-Package Bikiran.Validation -Version 1.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bikiran.Validation" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bikiran.Validation" Version="1.0.5" />
<PackageReference Include="Bikiran.Validation" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bikiran.Validation --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bikiran.Validation, 1.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bikiran.Validation@1.0.5
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bikiran.Validation&version=1.0.5
#tool nuget:?package=Bikiran.Validation&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bikiran.Validation
A comprehensive utility library for .NET development with debugging, API support, and configuration management
Installation
dotnet add package Bikiran.Validation
A comprehensive validation library for .NET applications providing robust validation utilities for common data types and formats.
Features
- 20+ Validation Types (Email, Date, IP, URL, File formats, etc.)
- Extensible Validation Framework
- Customizable Error Messages
- Regex-Powered Validation
- Null Safety Handling
- Optional Field Support
- Batch Validation for collections
- Cross-Platform .NET Standard 2.0+ Support
Installation
Quick Start
Available Validators
| Validator Class | Description | Key Methods |
|---|---|---|
| ValEmail | Email validation | IsValidEmailFormat, IsValidEmailFormatAll |
| ValDate | Date formatting | IsValidDateFormat |
| ValUser | User credentials | IsValidUserNameFormat, IsValidPasswordFormat |
| ValFile | File validation | IsValidImageFile, IsValidDocFormat, IsValidXlsxFormat |
| ValIP | IP Address validation | IsValidIpFormat, IsValidIpFormatAll |
| ValURL | URL validation | IsValidUrlFormat |
| ValString | String validation | IsValidString, IsValidLongString |
| ValNumber | Numeric validation | IsValidateInt, IsValidateNumber |
| ValBoolean | Boolean checks | IsEqual, IsTrue, IsFalse |
| ValOptions | Option validation | IsValidateOptions, IsValidateOptionsAll |
| ValPath | Path validation | IsValidPathPattern |
| ValDomain | Domain validation | IsValidDomainFormat, IsValidDomainFormatAll |
| ValGit | Git URL validation | IsValidGitRepoSsh |
Advanced Usage
Custom Error Messages
Batch Validation
Optional Fields
Validation Rules Details
Password Requirements
- 8-32 characters
- 1 uppercase letter
- 1 lowercase letter
- 1 number
- 1 special character
Username Requirements
- 5-20 characters
- Alphanumeric with .-@
- Starts with letter
- Ends with letter/number
File Validation
- Images: JPEG, PNG, SVG (max 1MB)
- Documents: PDF, DOC, DOCX (max 1MB)
- Media Files: MP4, AVI, MP3, WAV (max 100MB)
Contribution
- Fork the repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Support
Found a bug? Please open an issue.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Microsoft.AspNetCore.Http (>= 2.3.0)
- Newtonsoft.Json (>= 13.0.3)
- NuGet.Protocol (>= 6.13.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.