SigmaValidation 1.0.1

SigmaValidation is initiation to validate phone numbers of different regions/countries around the globe.

There is a newer version of this package available.
See the version list below for details.
Install-Package SigmaValidation -Version 1.0.1
dotnet add package SigmaValidation --version 1.0.1
<PackageReference Include="SigmaValidation" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SigmaValidation --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Eg;
string phoneNumber= "+0111100011";
ValidationModel validationModel=phoneNumber.IsValidPhoneNumber();

ValidationModel Structure
public class ValidationModel
{
public bool Result { get; set; }
public string ResponseMessage { get; set; }
public string RequestParameter { get; set; }
}

Data Model Validation Attribute
[PhoneNumber]
public string PhoneNumber{get;set;}

Include SigmaValidation.js in view.

Js Dependencies removed

Eg;
string phoneNumber= "+0111100011";
ValidationModel validationModel=phoneNumber.IsValidPhoneNumber();

ValidationModel Structure
public class ValidationModel
{
public bool Result { get; set; }
public string ResponseMessage { get; set; }
public string RequestParameter { get; set; }
}

Data Model Validation Attribute
[PhoneNumber]
public string PhoneNumber{get;set;}

Include SigmaValidation.js in view.

Js Dependencies removed

Release Notes

Attribute PhoneNumber added. Server and Client Side validation.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.4 340 5/14/2019
1.0.3 111 5/6/2019
1.0.2.1 170 4/25/2019
1.0.1.2 237 10/8/2018
1.0.1.1 233 9/25/2018
1.0.1 301 9/24/2018
Show less