CoreComponentExporter 2026.3.6

dotnet add package CoreComponentExporter --version 2026.3.6
                    
NuGet\Install-Package CoreComponentExporter -Version 2026.3.6
                    
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.3.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CoreComponentExporter" Version="2026.3.6" />
                    
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.3.6
                    
#r "nuget: CoreComponentExporter, 2026.3.6"
                    
#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.3.6
                    
#: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.3.6
                    
Install as a Cake Addin
#tool nuget:?package=CoreComponentExporter&version=2026.3.6
                    
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

  • net6.0

  • net8.0

  • net9.0

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.3.6 83 3/6/2026
2026.2.27 91 2/27/2026
2026.2.11 117 2/11/2026
2026.2.10 91 2/10/2026
2025.11.11 327 11/11/2025
2025.10.26 198 10/26/2025
2025.10.10 151 10/10/2025
2025.8.19 228 8/19/2025
2025.7.13 275 7/14/2025
2025.7.2 189 7/4/2025
2025.5.23 171 5/23/2025
2025.5.1 212 5/1/2025
2025.3.22 231 3/22/2025
2025.3.8 197 3/9/2025
2025.2.1 216 2/1/2025
2025.1.12 170 1/12/2025
2025.1.11 150 1/12/2025
2024.12.19 186 12/19/2024
2024.12.18 163 12/19/2024
2024.12.8 192 12/9/2024
Loading failed