OCPI.Net 0.10.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package OCPI.Net --version 0.10.0                
NuGet\Install-Package OCPI.Net -Version 0.10.0                
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="OCPI.Net" Version="0.10.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OCPI.Net --version 0.10.0                
#r "nuget: OCPI.Net, 0.10.0"                
#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 OCPI.Net as a Cake Addin
#addin nuget:?package=OCPI.Net&version=0.10.0

// Install OCPI.Net as a Cake Tool
#tool nuget:?package=OCPI.Net&version=0.10.0                

OCPI.Net

Tests

OCPI (Open Charge Point Interface) implementation for .Net, built with C#

Supported OCPI versions: 2.0, 2.1.1, 2.2, 2.2.1

Package documentation is expected later.

For now, you can refer to this sample project

Installation

To use in your project, add the nuget package:

dotnet add package OCPI.Net

Main features

  • OCPI Contracts + Validation

    This NuGet package provides a comprehensive collection of contract models required for seamless protocol implementation. Additionally, the package includes validators specifically designed to validate OCPI contract models, ensuring their accuracy and compliance with the protocol's specifications.

  • Asp.Net Core integration

    The package contains all necessary functionality to easily implement OCPI using Asp.Net Core. Make sure your OCPI controllers inherit from the OcpiContrtoller class.

  • Versioning

    Apply OcpiEndpoint attribute to those controllers that implement OCPI modules, and the package will perform an automated scan of the codebase and fetch necessary data for your OCPI Versions Module.

  • OCPI Errors

    When using OCPI, there might be certain situations where something goes wrong or an error occurs. To help developers handle these errors effectively, there are predefined OCPI Exceptions available. By throwing (or raising) one of these predefined exceptions, developers can easily communicate the specific error that happened in accordance with the protocol.

    In addition to the predefined exceptions, developers also have the flexibility to create their own custom exceptions. This means they can define their own specific types of errors to handle unique situations or requirements in their OCPI implementation.

Extra

Any contributions, suggestions and feature requests are welcome.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
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
0.17.1 243 10/15/2024
0.17.0 1,588 2/27/2024
0.16.3 200 2/11/2024
0.16.2 130 2/8/2024
0.16.1 563 1/11/2024
0.16.0 1,258 1/10/2024
0.15.3 459 12/26/2023
0.15.2 182 12/6/2023
0.15.1 1,084 10/15/2023
0.15.0 152 10/13/2023
0.14.2 276 10/1/2023
0.14.1 152 9/29/2023
0.14.0 194 9/19/2023
0.13.1 140 9/19/2023
0.13.0 228 9/5/2023
0.12.0 151 9/4/2023
0.11.2 162 8/18/2023
0.11.1 126 8/18/2023
0.11.0 133 8/17/2023
0.10.1 157 8/14/2023
0.10.0 142 8/14/2023
0.9.5 213 8/10/2023
0.9.4 220 7/11/2023
0.9.3 157 7/8/2023
0.9.2 159 7/7/2023
0.9.1 178 7/7/2023
0.8.10 201 6/21/2023
0.8.9 176 6/14/2023
0.8.8 175 5/12/2023
0.8.7 203 4/19/2023
0.8.6 190 4/18/2023
0.8.5 205 4/17/2023
0.8.4 202 4/4/2023
0.8.3 207 4/4/2023
0.8.2 255 3/13/2023