CoreComponentExporter 2026.6.9

dotnet add package CoreComponentExporter --version 2026.6.9
                    
NuGet\Install-Package CoreComponentExporter -Version 2026.6.9
                    
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="CoreComponentExporter" Version="2026.6.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CoreComponentExporter" Version="2026.6.9" />
                    
Directory.Packages.props
<PackageReference Include="CoreComponentExporter" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CoreComponentExporter --version 2026.6.9
                    
#r "nuget: CoreComponentExporter, 2026.6.9"
                    
#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.
#:package CoreComponentExporter@2026.6.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CoreComponentExporter&version=2026.6.9
                    
Install as a Cake Addin
#tool nuget:?package=CoreComponentExporter&version=2026.6.9
                    
Install as a Cake Tool

DevKit.Exporter

Biblioteca potente para la exportación de datos a múltiples formatos, incluyendo Excel (XLS/XLSX), CSV y JSON, mediante métodos de extensión sencillos y eficientes.

Instalación

Instala el paquete vía NuGet:

dotnet add package DevKit.Exporter

Uso de Exportadores

Todos los exportadores están implementados como métodos de extensión sobre DataTable, IEnumerable<T> y IEnumerable<Dictionary<string, object>>.

1. Exportación a Excel (XLS/XLSX)

Genera archivos de Excel directamente a disco o como MemoryStream.

// Exportar DataTable a archivo
tabla.ExportToMicrosoftExcel("reporte.xlsx");

// Exportar lista de objetos a MemoryStream
using var stream = miLista.ExportToMicrosoftExcel();

// Con formato de fecha específico
tabla.ExportToMicrosoftExcel("reporte_fecha.xls", DateFormatType.Long);

2. Exportación a CSV

Generación de archivos planos o streams con delimitadores personalizables.

// Exportar a archivo con delimitador por defecto (,)
tabla.ExportToCsv("datos.csv");

// Exportar con delimitador personalizado (;)
miLista.ExportToCsv("datos_europa.csv", delimiter: ";");

// Obtener como MemoryStream
var csvStream = tabla.ExportToCsv(delimiter: "|");

3. Exportación a JSON

Conversión rápida a cadenas JSON o archivos.

// Obtener cadena JSON desde DataTable
string json = tabla.ExportToJson();

// Exportar lista a archivo JSON
miLista.ExportToJson("data.json");

// Obtener cadena JSON desde objeto único (Pretty Print por defecto)
string jsonObj = miObjeto.ToJson();

Características Técnicas

  • Formatos: Excel (.xls, .xlsx), CSV, JSON.
  • Soporte de Tipos: DataTable, DataRow, colecciones genéricas y diccionarios.
  • Manejo de Memoria: Soporte para MemoryStream para integraciones con APIs web.
  • Formateo: Manejo inteligente de tipos DateTime y valores DBNull.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 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
2026.6.9 126 6/10/2026
2026.4.13 131 4/13/2026
2026.3.6 135 3/6/2026
2026.2.27 128 2/27/2026
2026.2.11 151 2/11/2026
2026.2.10 132 2/10/2026
2025.11.11 420 11/11/2025
2025.10.26 228 10/26/2025
2025.10.10 182 10/10/2025
2025.8.19 259 8/19/2025
2025.7.13 309 7/14/2025
2025.7.2 217 7/4/2025
2025.5.23 201 5/23/2025
2025.5.1 239 5/1/2025
2025.3.22 255 3/22/2025
2025.3.8 221 3/9/2025
2025.2.1 243 2/1/2025
2025.1.12 198 1/12/2025
2025.1.11 178 1/12/2025
2024.12.19 210 12/19/2024
Loading failed