IbanNet.DataAnnotations 5.7.1

.NET 6.0 .NET Standard 1.6 .NET Framework 4.6.2
dotnet add package IbanNet.DataAnnotations --version 5.7.1
NuGet\Install-Package IbanNet.DataAnnotations -Version 5.7.1
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="IbanNet.DataAnnotations" Version="5.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbanNet.DataAnnotations --version 5.7.1
#r "nuget: IbanNet.DataAnnotations, 5.7.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.7.1

// Install IbanNet.DataAnnotations as a Cake Tool
#tool nuget:?package=IbanNet.DataAnnotations&version=5.7.1

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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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.7.1 741 11/4/2022
5.7.0 916 10/9/2022
5.6.2 356 10/2/2022
5.6.1 1,330 7/22/2022
5.6.0 1,357 7/9/2022
5.5.1 477 6/23/2022
5.5.0 2,380 5/12/2022
5.4.0 5,490 12/31/2021
5.3.2 743 12/18/2021
5.3.1 3,239 11/14/2021
5.3.0 250 11/13/2021
5.2.0 225 11/10/2021
5.1.0 2,436 9/27/2021
5.0.0 1,018 8/21/2021
5.0.0-beta0015 161 8/21/2021
5.0.0-beta0001 183 6/17/2021
4.4.3 2,364 8/21/2021
4.4.2 3,654 6/17/2021
4.4.1 292 6/13/2021
4.4.0 270 6/12/2021
4.3.1 908 6/5/2021
4.3.0 8,392 11/27/2020
4.2.0 619 11/7/2020
4.1.0 2,149 8/8/2020
4.0.1 1,682 5/12/2020
4.0.0 965 2/8/2020
4.0.0-beta0241 354 2/8/2020
4.0.0-beta0227 334 2/8/2020
4.0.0-beta0223 365 2/8/2020
4.0.0-beta0222 379 2/8/2020
4.0.0-beta0204 426 2/6/2020
4.0.0-beta0190 396 1/14/2020
4.0.0-beta0187 289 1/13/2020
4.0.0-beta0186 336 1/13/2020
4.0.0-beta0183 391 1/13/2020
4.0.0-beta0178 4,336 12/30/2019
4.0.0-beta0177 352 12/29/2019
4.0.0-beta0172 398 12/29/2019
3.2.2 381 5/12/2020
3.2.1 1,464 1/14/2020
3.2.0 727 11/23/2019
3.1.2 558 10/25/2019
3.1.1 888 7/25/2019
3.1.0 704 5/10/2019
3.0.0 732 2/14/2019
2.1.0 805 9/18/2018