DOTSAddressValidationCanada2_Standard 1.1.1

dotnet add package DOTSAddressValidationCanada2_Standard --version 1.1.1                
NuGet\Install-Package DOTSAddressValidationCanada2_Standard -Version 1.1.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="DOTSAddressValidationCanada2_Standard" Version="1.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DOTSAddressValidationCanada2_Standard --version 1.1.1                
#r "nuget: DOTSAddressValidationCanada2_Standard, 1.1.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DOTSAddressValidationCanada2_Standard as a Cake Addin
#addin nuget:?package=DOTSAddressValidationCanada2_Standard&version=1.1.1

// Install DOTSAddressValidationCanada2_Standard as a Cake Tool
#tool nuget:?package=DOTSAddressValidationCanada2_Standard&version=1.1.1                

DOTS Address Validation � Canada 2

This package simplifies making API calls to Address Validation Canada 2. It allows for testing on our trial environments and running against our production environments as well while implementing best practices and failover.

Examples

using ServiceObjects;

//Trial API
AVCA2_Response AddressValidationCanada2Trial = DOTSAVCA2.ValidateCanadianAddressV2("1053 Carling Ave", "", "Ottawa", "ON", "K1Y 4E9", "English", "XXXXXXXXXXXX", false); Console.WriteLine("AVCA2 ValidateCanadianAddressV2 Trial Version is " + AddressInsightTrial);

//Production API
AVCA2_Response AddressValidationCanada2Live = DOTSAVCA2.ValidateCanadianAddressV2("1053 Carling Ave", "", "Ottawa", "ON", "K1Y 4E9", "English", "XXXXXXXXXXXX", true); Console.WriteLine("AVCA2 ValidateCanadianAddressV2 Live Version is " + AddressInsightLive);

Console.WriteLine();

//Trial API
VCM_Response AddressValidationCanada2Trial2 = DOTSAVCA2.ValidateCanadianMunicipalityProvince("Ottawa", "K1Y 4E9", "ON", "XXXXXXXXXXXX", false); Console.WriteLine("AVCA2 ValidateCanadianMunicipalityProvince Trial Version is " + AddressInsightTrial2);

//Production API
VCM_Response AddressValidationCanada2Live2 = DOTSAVCA2.ValidateCanadianMunicipalityProvince("Ottawa", "K1Y 4E9", "ON", "XXXXXXXXXXXX", true); Console.WriteLine("AVCA2 ValidateCanadianMunicipalityProvince Live Version is " + AddressInsightLive2);

Console.WriteLine();

//Trial API
VCM_Response AddressValidationCanada2Trial3 = DOTSAVCA2.ParseCanadianAddress("1053 Carling Ave", "", "Ottawa", "ON", "K1Y 4E9", "XXXXXXXXXXXX", false); Console.WriteLine("AVCA2 ParseCanadianAddress Trial Version is " + AddressInsightTrial3);

//Production API
VCM_Response AddressValidationCanada2Live3 = DOTSAVCA2.ParseCanadianAddress("1053 Carling Ave", "", "Ottawa", "ON", "K1Y 4E9", "XXXXXXXXXXXX", true); Console.WriteLine("AVCA2 ParseCanadianAddress Live Version is " + AddressInsightLive3); Console.WriteLine();

//Async\

//Trial API
AVCA2_ResponseAddressValidationCanada2Trial = await DOTSAVCA2.ValidateCanadianAddressV2Async("1053 Carling Ave", "", "Ottawa", "ON", "K1Y 4E9", "English", "XXXXXXXXXXXX", false); Console.WriteLine("AVCA2 ValidateCanadianAddressV2 Trial Version is " + AddressInsightTrial);

//Production API
AVCA2_Response AddressValidationCanada2Live = await DOTSAVCA2.ValidateCanadianAddressV2Async("1053 Carling Ave", "", "Ottawa", "ON", "K1Y 4E9", "English", "XXXXXXXXXXXX", true); Console.WriteLine("AVCA2 ValidateCanadianAddressV2 Live Version is " + AddressInsightLive);

Console.WriteLine();

//Trial API
VCM_Response AddressValidationCanada2Trial2 = await DOTSAVCA2.ValidateCanadianMunicipalityProvinceAsync("Ottawa", "K1Y 4E9", "ON", "XXXXXXXXXXXX", false); Console.WriteLine("AVCA2 ValidateCanadianMunicipalityProvince Trial Version is " + AddressInsightTrial2);

//Production API
VCM_Response AddressValidationCanada2Live2 = await DOTSAVCA2.ValidateCanadianMunicipalityProvinceAsync("Ottawa", "K1Y 4E9", "ON", "XXXXXXXXXXXX", true); Console.WriteLine("AVCA2 ValidateCanadianMunicipalityProvince Live Version is " + AddressInsightLive2);

Console.WriteLine();

//Trial API
VCM_Response AddressValidationCanada2Trial3 = await DOTSAVCA2.ParseCanadianAddressAsync("1053 Carling Ave", "", "Ottawa", "ON", "K1Y 4E9", "XXXXXXXXXXXX", false); Console.WriteLine("AVCA2 ParseCanadianAddress Trial Version is " + AddressInsightTrial3);

//Production API
VCM_Response AddressValidationCanada2Live3 = await DOTSAVCA2.ParseCanadianAddressAsync("1053 Carling Ave", "", "Ottawa", "ON", "K1Y 4E9", "XXXXXXXXXXXX", true); Console.WriteLine("AVCA2 ParseCanadianAddress Live Version is " + AddressInsightLive3); Console.WriteLine();

Console.Read();

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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
1.1.1 124 9/10/2024
1.1.0 628 8/19/2023 1.1.0 is deprecated because it is no longer maintained.

New package for integrating with .net framework and core.