CommonNetFuncs.Excel.Npoi
4.3.2
dotnet add package CommonNetFuncs.Excel.Npoi --version 4.3.2
NuGet\Install-Package CommonNetFuncs.Excel.Npoi -Version 4.3.2
<PackageReference Include="CommonNetFuncs.Excel.Npoi" Version="4.3.2" />
<PackageVersion Include="CommonNetFuncs.Excel.Npoi" Version="4.3.2" />
<PackageReference Include="CommonNetFuncs.Excel.Npoi" />
paket add CommonNetFuncs.Excel.Npoi --version 4.3.2
#r "nuget: CommonNetFuncs.Excel.Npoi, 4.3.2"
#:package CommonNetFuncs.Excel.Npoi@4.3.2
#addin nuget:?package=CommonNetFuncs.Excel.Npoi&version=4.3.2
#tool nuget:?package=CommonNetFuncs.Excel.Npoi&version=4.3.2
CommonNetFuncs.Excel.Npoi
This project contains helper methods for reading and writing Excel files using the NPOI library in .NET applications.
Contents
Export
Provides a GenericExcelExport extension method that converts any IEnumerable<T> into a .xlsx MemoryStream using NPOI (Apache POI for .NET). Supports optional table formatting, custom sheet and table names, column exclusion, and text wrapping. Uses the SXSSF streaming workbook for memory-efficient exports of large datasets.
Export Usage Examples
<details> <summary><h3>Usage Examples</h3></summary>
GenericExcelExport
using CommonNetFuncs.Excel.Npoi;
List<MyRecord> data = GetData();
// Basic export
MemoryStream? stream = await data.GenericExcelExport();
// Export as a formatted Excel table with a custom sheet name and skipped column
MemoryStream? stream = await data.GenericExcelExport(
createTable: true,
sheetName: "Report",
tableName: "ReportTable",
skipColumnNames: ["InternalId"]
);
// Return as a file download from an ASP.NET Core endpoint
return File(stream, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "report.xlsx");
</details>
Installation
Install via NuGet:
dotnet add package CommonNetFuncs.Excel.Npoi
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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 Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- CommonNetFuncs.Core (>= 4.3.2)
- CommonNetFuncs.Excel.Common (>= 4.3.1)
- NPOI (>= 2.8.0)
- System.Security.Cryptography.Xml (>= 10.0.11)
-
net10.0
- CommonNetFuncs.Core (>= 4.3.2)
- CommonNetFuncs.Excel.Common (>= 4.3.1)
- NPOI (>= 2.8.0)
- System.Security.Cryptography.Xml (>= 10.0.11)
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 |
|---|---|---|
| 4.3.2 | 46 | 8/14/2026 |
| 4.3.1 | 89 | 8/10/2026 |
| 4.3.0 | 104 | 8/3/2026 |
| 4.1.16 | 102 | 8/3/2026 |
| 4.1.15 | 106 | 7/31/2026 |
| 4.1.13 | 96 | 7/31/2026 |
| 4.1.12 | 106 | 7/16/2026 |
| 4.1.11 | 103 | 7/9/2026 |
| 4.1.8 | 111 | 7/7/2026 |
| 4.1.3 | 123 | 6/9/2026 |
| 4.1.0 | 123 | 6/5/2026 |
| 4.0.53 | 117 | 5/30/2026 |
| 4.0.51 | 146 | 5/27/2026 |
| 4.0.50 | 157 | 5/26/2026 |
| 4.0.43 | 145 | 5/14/2026 |
| 4.0.40 | 128 | 5/10/2026 |
| 4.0.39 | 126 | 5/10/2026 |
| 4.0.37 | 135 | 5/9/2026 |
| 4.0.36 | 124 | 5/8/2026 |