poor beggar - John Claes
  • Algemeen
    • Wie ben ik
    • Wat doe ik
    • Waar vind je me
  • Als ICT werknemer
    • Overzicht >
      • Overzicht & CV
      • My Certificates
      • My Community Events
    • Werkende voor >
      • Beggar Consultancy
    • Gewerkt voor >
      • Tri-ICT
      • Devoteam
      • Bitconsult
      • 3D-ICT
      • TeleLinQ
      • HeadBird
      • Tobius
      • Logsys
      • Optizen
    • Projecten als werknemer - Consultant
    • As Architect
  • Als vrijwilliger
    • Midgard Viking Brotherhood >
      • midgard viking belgium
      • KinderKankerFonds
      • 2024 >
        • 2024 toys run
        • 2024 bednet charity
        • 2024 clothing run
      • 2023 >
        • 2023-10-07 VVA Event
      • 2022 >
        • 2022 KinderkankerFonds
      • 2021 >
        • 2021 toysrun
  • Archief
    • Als bijverdienste >
      • Security
    • Als Student >
      • Student
      • WerkStudent
    • Als vrijwilliger >
      • 205 Fos Impeesa
      • Iepenburg
      • Intersoc
  • Contact & Agenda
    • Agenda
    • Contact us
    • Online >
      • Discord
      • Facebook >
        • Beggar Consultancy
        • Poor Beggar
      • Twitter
    • John Claes
  • Hobby’s
    • Overzicht
    • Active >
      • Airsoft
      • Ingress
      • Reizen
      • Geocaching
      • Food
      • Sport - Conditie
      • Vissen
    • Archief >
      • Modelbouw
      • CB Vossejacht
  • Algemeen
    • Wie ben ik
    • Wat doe ik
    • Waar vind je me
  • Als ICT werknemer
    • Overzicht >
      • Overzicht & CV
      • My Certificates
      • My Community Events
    • Werkende voor >
      • Beggar Consultancy
    • Gewerkt voor >
      • Tri-ICT
      • Devoteam
      • Bitconsult
      • 3D-ICT
      • TeleLinQ
      • HeadBird
      • Tobius
      • Logsys
      • Optizen
    • Projecten als werknemer - Consultant
    • As Architect
  • Als vrijwilliger
    • Midgard Viking Brotherhood >
      • midgard viking belgium
      • KinderKankerFonds
      • 2024 >
        • 2024 toys run
        • 2024 bednet charity
        • 2024 clothing run
      • 2023 >
        • 2023-10-07 VVA Event
      • 2022 >
        • 2022 KinderkankerFonds
      • 2021 >
        • 2021 toysrun
  • Archief
    • Als bijverdienste >
      • Security
    • Als Student >
      • Student
      • WerkStudent
    • Als vrijwilliger >
      • 205 Fos Impeesa
      • Iepenburg
      • Intersoc
  • Contact & Agenda
    • Agenda
    • Contact us
    • Online >
      • Discord
      • Facebook >
        • Beggar Consultancy
        • Poor Beggar
      • Twitter
    • John Claes
  • Hobby’s
    • Overzicht
    • Active >
      • Airsoft
      • Ingress
      • Reizen
      • Geocaching
      • Food
      • Sport - Conditie
      • Vissen
    • Archief >
      • Modelbouw
      • CB Vossejacht

Projecten als Werknemer / Consultant

Riziv / Inami : Nihdi.Common.Validators

2/4/2025

 
Picture
Picture

Nihdi.Common.Validators.Iban

Introduction
This project contains a Common Iban Validator. this Validator can be used to create a Iban object that will return a true/False response on the CheckIfValid Question.
Getting Started
  1. Reference this Nugget
  2. Create a Iban instance ( Constructor needs the number to check )
  3. Use the Method CheckIfValid to check if it's a valid Iban.
Important to know: This Iban validator is checking the Modulus for all covered countries.
Build and Test
Iban iban = new("NotValid");
iban.CheckIfValid();
Contribute
​
for support or bugs : please contact John Claes with the test case so we can add the case to our tests and fix the bug.
Nugget Feed PRD: 

Nugget Feed DEV : 
https://tfs.riziv.org/tfs/DefaultCollection/Common/_artifacts/feed/Riziv2-PreRelease/NuGet/Nihdi.Common.Validators.IbanValidator 

Nihdi.Common.Validators.CBSS

Introduction
​
This project contains a Common CBSS Validator. this Validator can be used to create a CBSS object that will return a true/False response on the CheckIfValid Question.
Getting Started
  1. Reference this Nugget
  2. Create a CBSS instance (Constructor needs the number to check)
  3. Use the Method CheckIfValid to check if it's a valid CBSS number
Important to know:
  1. CheckIfValid needs a true/false indication if you want to make sure it's may be a Biss number
    1. current implementation checks belgian niss and Biss numbers
    2. default we allow bis numbers
  2. even when the imput is wrong, it can be that you get a true: check the string value for the "Corrected" value.
Build and Test
Niss niss = new Niss("NotValid");
niss.CheckIfValid();
niss.CheckIfValid(true);
niss.CheckIfValid(false);
Contribute
​
for support or bugs : please contact John Claes with the test case so we can add the case to our tests and fix the bug.
Nugget Feed PRD: 

Nugget Feed DEV : 
https://tfs.riziv.org/tfs/DefaultCollection/Common/_artifacts/feed/Riziv2-PreRelease/NuGet/Nihdi.Common.Validators.CBSSValidator 

Nihdi.Common.Validators.CBE

Introduction
This project contains a Common CBE Validator. this Validator can be used to create a CBE object that will return a true/False response on the CheckIfValid Question.
Getting Started
  1. Reference this Nugget
  2. Create a CBE instance (Constructor needs the number to check)
  3. Use the Method CheckIfValid to check if it's a valid CBE number
Important to know:
  1. CheckIfValid needs a true/false indication if you want to make sure it's a Belgian CBE
    1. current implementation only checks Belgian numbers
  2. even when the imput is wrong, it can be that you get a true: check the string value for the "Corrected" value.
Build and Test
Cbe cbe = new("NotValid");
Assert.IsFalse(cbe.CheckIfValid(true));
Contribute
​
for support or bugs : please contact John Claes with the test case so we can add the case to our tests and fix the bug.Nugget Feed PRD: 

Nugget Feed DEV : 
https://tfs.riziv.org/tfs/DefaultCollection/Common/_artifacts/feed/Riziv2-PreRelease/NuGet/Nihdi.Common.Validators.CBEValidator

Nihdi.Common.Validators.NihdiNumber

Introduction
This project contains a Common NihdiNumber Validator. this Validator can be used to create a NihdiNumber object that will return a true/False response on the CheckIfValid Question.
Getting Started
  1. Reference this Nugget
  2. Create a NihdiNumber instance ( Constructor needs the number to check )
  3. Use the Method CheckIfValid to check if it's a valid NihdiNumber.
Important to know:
This NihdiNumber validator is checking for the current and old checks ( 97-89-83 and 79 ) even when the imput is wrong, it can be that you get a true: check the string value for the "Corrected" value.
Build and Test
NihdiNumber nihdiNumber = new NihdiNumber("NotValid");
nihdiNumber.CheckIfValid()
Contribute
for support or bugs : please contact John Claes with the test case so we can add the case to our tests and fix the bug.
Nugget Feed PRD: 

Nugget Feed DEV : 
https://tfs.riziv.org/tfs/DefaultCollection/Common/_artifacts/feed/Riziv2-PreRelease/NuGet/Nihdi.Common.Validators.NihdiNumberValidator 

Nihdi.Common.Validators.Mail

Introduction
This project is not implemented as the System.Net.Mail has a very good validation when trying the Constructor.
Getting Started
  • Reference the namespace : System.Net.Mail
using System.Net.Mail;
  • ​Use the Constructor of MailAddress or the static TryCreate(string? address, out System.Net.Mail.MailAddress? result);
public class MailAddress

​​public static bool TryCreate(string? address, out System.Net.Mail.MailAddress? result);
  • Handle the Thrown errors as they are Validation errors when using the constructor
Important to know:
  1. MailAddress is a System.Net.Mail Class with a well documented and valid validation of mail MailAddresses
  • https://learn.microsoft.com/en-us/dotnet/api/system.net.mail.mailaddress 
  • https://learn.microsoft.com/en-us/dotnet/api/system.net.mail.mailaddress.trycreate 
Build and Test
​1. Constructor
public static bool ValidateMailAddress(string mailAddressToCheck)
{
      try
      {
            MailAddress ma = new(mailAddressToCheck);
            return true;
      }
      catch
      {
            // if you want to know the real error also.
            // please catch the error and log / return the message.
            return false;
      }
}
2. TryCreate
public static bool ValidateMailAddress(string mailAddressToCheck)
{
      ​return MailAddress.TryCreate(mailAddressToCheck, out MailAddress? ma );
}
Contribute
for support or bugs : please contact John Claes with the test case so we can add the case to our tests

Comments are closed.

    Author

    John Claes
    Picture

    Werkgevers

    All
    01 Optizen
    02 Logsys
    03.1 Acerta
    03 Tobius
    04 Headbird
    05 Telelinq
    06.1 Securex
    06 3d Ict
    07.1 Socialist Mutuality
    07.2 Dep Landbouw & Visserij
    07.3 FOD BUZA
    07 Bitconsult
    08.1 RIZIV INAMI NIHDI
    08 Devoteam
    09.1 RIZIV INAMI NIHDI
    09 Tri ICT
    10.1 RIZIV INAMI NIHDI
    10.2 Group S
    10 Beggar Consultancy

    RSS Feed

    Archives

    September 2025
    August 2025
    April 2025
    March 2025
    January 2025
    November 2024
    October 2024
    September 2024
    July 2024
    June 2024
    March 2024
    August 2023
    June 2023
    January 2023
    December 2022
    November 2022
    September 2022
    June 2022
    May 2022
    January 2021
    December 2020
    October 2019
    September 2018
    April 2018
    March 2018
    September 2015
    August 2015
    March 2015
    January 2015
    December 2014
    November 2014
    October 2014
    August 2014
    June 2014
    May 2014
    April 2014
    January 2014
    December 2013
    January 2013
    September 2012
    August 2012
    December 2011
    November 2011
    October 2011
    January 2011
    April 2010
    January 2010
    November 2009
    January 2009
    November 2008
    October 2008
    August 2008
    February 2007
    November 2006
    September 2006
    March 2005

    Oude Cv's

    johnclaes_cv.doc
    File Size: 118 kb
    File Type: doc
    Download File

    john_claes.docx
    File Size: 61 kb
    File Type: docx
    Download File

    cv_claes_john.doc
    File Size: 76 kb
    File Type: doc
    Download File

Poor Beggar