CsvExport alternatives and similar packages
Based on the "Serialization" category.
Alternatively, view CsvExport alternatives based on common mentions on social networks and blogs.
-
Protocol Buffers
Protocol Buffers - Google's data interchange format -
Json.NET
Json.NET is a popular high-performance JSON framework for .NET -
MessagePack for C# (.NET, .NET Core, Unity, Xamarin)
Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#] -
Bond
Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services. -
ZeroFormatter
Infinitely Fast Deserializer for .NET, .NET Core and Unity. -
Utf8Json
Definitely Fastest and Zero Allocation JSON Serializer for C#(NET, .NET Core, Unity, Xamarin). -
ServiceStack.Text
.NET's fastest JSON, JSV and CSV Text Serializers -
Magicodes.IE
Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html. -
FileHelpers
The FileHelpers are a free and easy to use .NET library to read/write data from fixed length or delimited records in files, strings or streams -
Msgpack-Cli
MessagePack implementation for Common Language Infrastructure / msgpack.org[C#] -
Ceras
Universal binary serializer for a wide variety of scenarios https://discord.gg/FGaCX4c -
ProtoBuf
C# code generator for reading and writing the protocol buffers format -
JsonSubTypes
Discriminated Json Subtypes Converter implementation for .NET -
ObjectDumper.NET
ObjectDumper is a utility which aims to serialize C# objects to string for debugging and logging purposes. -
Migrant
Fast and flexible serialization framework usable on undecorated classes. -
Bois
Salar.Bois is a compact, fast and powerful binary serializer for .NET Framework. With Bois you can serialize your existing objects with almost no change. -
TcpClientIo
TcpClientIo Wrapper of TcpClient what help focus on WHAT you transfer over TCP, not HOW
Static code analysis for 29 languages.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of CsvExport or a related project?
README
CsvExport
A very simple CSV-export tool for C#, code ispired by a thread at Stackoverflow, (C) Chris Hulbert
This was previously published as a "Gist" but I moved it here, for easier forking/contributing.
Features
- Excel-compatible export (separator detected automatically, friendly-trimming rows and values for compatibility)
- Escapes commas, quotes, multiline text
- Exports dates in timezone-proof format
- Extremely easy to use
Usage example:
Simply include one C# file into your project. Then:
var myExport = new CsvExport();
myExport.AddRow();
myExport["Region"] = "Los Angeles, USA";
myExport["Sales"] = 100000;
myExport["Date Opened"] = new DateTime(2003, 12, 31);
myExport.AddRow();
myExport["Region"] = "Canberra \"in\" Australia";
myExport["Sales"] = 50000;
myExport["Date Opened"] = new DateTime(2005, 1, 1, 9, 30, 0);
///ASP.NET MVC action example
return File(myExport.ExportToBytes(), "text/csv", "results.csv");
(NEW!) Nuget
I've published this to Nuget.
Install-Package CsvExport
This will simply add the cs-file to the root of your project.
License
The code is licensed under MIT License.
Sucessfully tested in production with our Jitbit Helpdesk Ticketing System
*Note that all licence references and agreements mentioned in the CsvExport README section above
are relevant to that project's source code only.