IbanNet.DataAnnotations 5.3.1

Install-Package IbanNet.DataAnnotations -Version 5.3.1
dotnet add package IbanNet.DataAnnotations --version 5.3.1
<PackageReference Include="IbanNet.DataAnnotations" Version="5.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbanNet.DataAnnotations --version 5.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IbanNet.DataAnnotations, 5.3.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install IbanNet.DataAnnotations as a Cake Addin
#addin nuget:?package=IbanNet.DataAnnotations&version=5.3.1

// Install IbanNet.DataAnnotations as a Cake Tool
#tool nuget:?package=IbanNet.DataAnnotations&version=5.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

IbanNet.DataAnnotations provides an attribute allowing validation of IBAN user input with ASP.NET (Core) and Microsoft Data Annotations.

Example

public class InputModel
{
    [Iban]
    [Required]
    public string BackAccountNumber { get; set; }
}

[ApiController]
public class MyController : ControllerBase
{
    [HttpPost]
    public ActionResult Save(InputModel model)
    {
        if (ModelState.IsValid)
        {
            // ..
        }
    }
}

Other info

Contributions

Please check out the contribution guidelines.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.3.1 669 11/14/2021
5.3.0 126 11/13/2021
5.2.0 105 11/10/2021
5.1.0 1,466 9/27/2021
5.0.0 791 8/21/2021
5.0.0-beta0015 99 8/21/2021
5.0.0-beta0001 131 6/17/2021
4.4.3 525 8/21/2021
4.4.2 3,526 6/17/2021
4.4.1 178 6/13/2021
4.4.0 109 6/12/2021
4.3.1 779 6/5/2021
4.3.0 6,522 11/27/2020
4.2.0 475 11/7/2020
4.1.0 1,992 8/8/2020
4.0.1 1,099 5/12/2020
4.0.0 815 2/8/2020
4.0.0-beta0241 299 2/8/2020
4.0.0-beta0227 283 2/8/2020
4.0.0-beta0223 315 2/8/2020
4.0.0-beta0222 328 2/8/2020
4.0.0-beta0204 371 2/6/2020
4.0.0-beta0190 343 1/14/2020
4.0.0-beta0187 234 1/13/2020
4.0.0-beta0186 277 1/13/2020
4.0.0-beta0183 334 1/13/2020
4.0.0-beta0178 4,108 12/30/2019
4.0.0-beta0177 297 12/29/2019
4.0.0-beta0172 344 12/29/2019
3.2.2 246 5/12/2020
3.2.1 1,313 1/14/2020
3.2.0 584 11/23/2019
3.1.2 431 10/25/2019
3.1.1 736 7/25/2019
3.1.0 467 5/10/2019
3.0.0 569 2/14/2019
2.1.0 624 9/18/2018