EasyCSVNet home - ADeBuen/EasyCSVNet GitHub Wiki
Welcome to the EasyCSVNet wiki!
This repo contains full code of EasyCSVNet project, a free and easy CSV importing and exporting library with XML definition support written in VB.Net. Code includes the library sources plus a simple runnable testing console application, which illustrates two sample use cases.
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 means of reflection.
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! 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.
Please read detailed documentation (HowTo quick guide) included in EasyCSVNet/doc directory.
Also, you will find EasyCSVNet available freely to include in your .Net projects at NuGet (https://www.nuget.org/packages/easycsvnet)
Comments, suggestions and improvements will be welcome at [email protected].
Thanks and hope you enjoy EasyCSVNet!