xEdi.EdiEngine 1.5.1

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

// Install xEdi.EdiEngine as a Cake Tool
#tool nuget:?package=xEdi.EdiEngine&version=1.5.1                

EdiEngine

Simple .NET EDI Reader, Writer and Validator. Read, Write and Validate X12 EDI files with simple EDI Parser written on C#. Main Features:

  • EDI to JSON and JSON to EDI conversion. EdiEngine uses Newtonsoft Json for serialization, and raw Newtonsoft Json reader for Deserialization. Json is a handy extension for the library. Imagine you can parse your EDI object directly in Angular or JQuery app.
  • EDI to XML and XML to EDI conversion. EdiEngine does not use XML as intermediate format, as many other engines do. It uses POCO objects and XML is just an extension
  • Configurable EDI X12 997 - Functional Acknowledgment generation. You can setup whether to accept all messages, accept but say errors were noted or reject depending on your needs.
  • HL Loop Hierarchical parsing - Create real tree structure basing on HL segment hierarchy. No need to map every HL to map, this means one map can serve multiple needs. Say for ASN it can be S-O-P-I or S-O-I hierarchy in one map.
  • Syntax Notes. All types of EDI Syntax notes are supported. P Paired, R Required, E Exclusion, C Conditional, L List Conditional
  • Composite Data Elements are supported, which is really important for HIPAA and sometimes for other transactions even in retail.
  • X12 Maps Current repository contains all 004010 maps, including Purchase Order, Invoice, Shipment and many others. You can easily craft yours on their basis.
  • VS2017 and .NET Core 2.0 support. Repository contains projects both for VS2015 and VS2017. .NET core projects are targeted to .NET Standard 2.0, so EdiEngine may be used in your latest .NET core applications. Nuget contains .Net Standard 2.0 libraries as well.

You can easily craft yours on their basis.

Installation

Clone repository or Install Nuget Package

Install-Package xEdi.EdiEngine

How To's

Please use Wiki for documentation and usage examples.

Complete usage examples can be found in the test project

Note - test project is not a part of nuget package. You have to clone repository.

Roadmap:

  • Json Serialization and Deserialization
  • Xml Serialization and Deserialization
  • Craft more maps (Added all 004010 maps)
  • 997 generation
  • HL loop hierarchical parsing
  • Syntax Notes
  • Composite data elements
  • .NET Core support
  • HIPAA support
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 net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 is compatible.  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.6.0 64,273 7/5/2020
1.5.2 33,644 8/28/2018
1.5.1 13,814 1/23/2018

Implemented Syntax Notes and their validation in EdiReader.
Added segment level validation (elements and syntax notes) to EdiWriter.
Implemented composite data elements.
Maps updated with composites and syntax notes.
Bugfixes.