easycsvnet

A free and easy CSV importing and exporting library with XML definition support written in VB.Net. Please see sources, samples & documentation at project site: https://github.com/ADeBuen/EasyCSVNet


Keywords
csv, xml, csv-import, csv-export, .net461, .net462, .net47, csv-files, csv-parser, csv-parsing, csv-reader, csv-reading, dotnet, vbnet, visual-basic, visual-studio, xsd
License
GPL-3.0
Install
Install-Package easycsvnet -Version 1.0.1

Documentation

EasyCSVnet

A free and easy CSV importing and exporting library with XML definition support written in VB.Net

Please read detailed documentation on sources and sample usage at EasyCSVNet/doc folder.

Library binaries also available to install/download in package form at NuGet (https://www.nuget.org/packages/easycsvnet).

EasyCSVNet is a simple and lightweight solution written entirely in VB.Net to deal with CSV-like ('comma-separated-value' plain text) files in a comfortable way. It allows to import CSV files into high level business layer objects' lists without effort, as the OCM ('Object-to-CSV' Mapping) schemata are defined in separated XML files. All type casting and field-to-attribute mapping work involved underneath is carried away transparently by the library by means of reflection. Also, clear and detailed error messages are thrown inside runtime exceptions during CSV parsing whenever a syntactic flaw is found in importing an eventually malformed CSV file. Really useful when typically working with many lines CSV files! More over, simple exporting classes are provided, which allow an easy implementation of the reverse-way exportation process from object to CSV if needed. In sum, a minimally invasive and more 'aseptic' alternative approach to more conventional boilerplate line-by-line parsing strategies, created to save time and effort to developers, who can then concentrate on other parts of their projects involving real business logic.