IbanNet.DataAnnotations 5.5.1

.NET 5.0 .NET Standard 1.6 .NET Framework 4.6.2
Install-Package IbanNet.DataAnnotations -Version 5.5.1
dotnet add package IbanNet.DataAnnotations --version 5.5.1
<PackageReference Include="IbanNet.DataAnnotations" Version="5.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IbanNet.DataAnnotations --version 5.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IbanNet.DataAnnotations, 5.5.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.5.1

// Install IbanNet.DataAnnotations as a Cake Tool
#tool nuget:?package=IbanNet.DataAnnotations&version=5.5.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.

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
.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.5.1 112 6/23/2022
5.5.0 815 5/12/2022
5.4.0 3,414 12/31/2021
5.3.2 547 12/18/2021
5.3.1 2,879 11/14/2021
5.3.0 180 11/13/2021
5.2.0 158 11/10/2021
5.1.0 2,276 9/27/2021
5.0.0 926 8/21/2021
5.0.0-beta0015 140 8/21/2021
5.0.0-beta0001 163 6/17/2021
4.4.3 1,576 8/21/2021
4.4.2 3,586 6/17/2021
4.4.1 224 6/13/2021
4.4.0 204 6/12/2021
4.3.1 840 6/5/2021
4.3.0 7,944 11/27/2020
4.2.0 542 11/7/2020
4.1.0 2,077 8/8/2020
4.0.1 1,399 5/12/2020
4.0.0 890 2/8/2020
4.0.0-beta0241 332 2/8/2020
4.0.0-beta0227 319 2/8/2020
4.0.0-beta0223 348 2/8/2020
4.0.0-beta0222 361 2/8/2020
4.0.0-beta0204 405 2/6/2020
4.0.0-beta0190 381 1/14/2020
4.0.0-beta0187 272 1/13/2020
4.0.0-beta0186 317 1/13/2020
4.0.0-beta0183 373 1/13/2020
4.0.0-beta0178 4,297 12/30/2019
4.0.0-beta0177 339 12/29/2019
4.0.0-beta0172 382 12/29/2019
3.2.2 316 5/12/2020
3.2.1 1,385 1/14/2020
3.2.0 656 11/23/2019
3.1.2 490 10/25/2019
3.1.1 817 7/25/2019
3.1.0 618 5/10/2019
3.0.0 651 2/14/2019
2.1.0 724 9/18/2018