Excelsior 5.0.2
See the version list below for details.
dotnet add package Excelsior --version 5.0.2
NuGet\Install-Package Excelsior -Version 5.0.2
<PackageReference Include="Excelsior" Version="5.0.2" />
<PackageVersion Include="Excelsior" Version="5.0.2" />
<PackageReference Include="Excelsior" />
paket add Excelsior --version 5.0.2
#r "nuget: Excelsior, 5.0.2"
#:package Excelsior@5.0.2
#addin nuget:?package=Excelsior&version=5.0.2
#tool nuget:?package=Excelsior&version=5.0.2
Excelsior
Excelsior is an Excel spreadsheet generation library with a distinctive data-driven approach. Uses DocumentFormat.OpenXml for spreadsheet creation and OpenXmlHtml for HTML cell rendering.
Usage
Model
Given an input class:
using Excelsior;
public class Employee
{
[Column(Heading = "Employee ID", Order = 1)]
public required int Id { get; init; }
[Column(Heading = "Full Name", Order = 2)]
public required string Name { get; init; }
[Column(Heading = "Email Address", Order = 3)]
public required string Email { get; init; }
[Column(Heading = "Hire Date", Order = 4)]
public Date? HireDate { get; init; }
[Column(Heading = "Annual Salary", Order = 5)]
public int Salary { get; init; }
public bool IsActive { get; init; }
public EmployeeStatus Status { get; init; }
}
[ColumnAttribute] is optional. If omitted:
- Order is based on the order of the properties defined in the class.
- Heading text is based on the property names that is camel case split.
Builder
BookBuilder is the root entry point. Once instantiated, the data for multiple sheets can be added.
var builder = new BookBuilder();
List<Employee> data =
[
new()
{
Id = 1,
Name = "John Doe",
Email = "john@company.com",
HireDate = new(2020, 1, 15),
Salary = 75000,
IsActive = true,
Status = EmployeeStatus.FullTime
},
new()
{
Id = 2,
Name = "Jane Smith",
Email = "jane@company.com",
HireDate = new(2019, 3, 22),
Salary = 120000,
IsActive = true,
Status = EmployeeStatus.FullTime
},
];
builder.AddSheet(data);
using var book = await builder.Build();
Documentation
See the readme for full documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- DocumentFormat.OpenXml (>= 3.5.1)
- OpenXmlHtml (>= 1.0.3)
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Excelsior:
| Package | Downloads |
|---|---|
|
ExcelsiorAspose
Excelsior is an Excel spreadsheet generation library with a distinctive data-driven approach. |
|
|
ExcelsiorClosedXml
Excelsior is an Excel spreadsheet generation library with a distinctive data-driven approach. |
|
|
ExcelsiorSyncfusion
Excelsior is an Excel spreadsheet generation library with a distinctive data-driven approach. |
|
|
Parchment
Parchment is a Word document generation library that combines docx templates or markdown with a .NET data model via liquid templating. |
|
|
ExcelsiorOpenXml
Excelsior is an Excel spreadsheet generation library with a distinctive data-driven approach. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.4 | 45 | 6/26/2026 |
| 5.0.3 | 135 | 6/15/2026 |
| 5.0.2 | 108 | 6/12/2026 |
| 5.0.1 | 94 | 6/11/2026 |
| 5.0.0 | 124 | 6/6/2026 |
| 4.7.0 | 135 | 6/3/2026 |
| 4.6.0 | 101 | 6/3/2026 |
| 4.5.2 | 106 | 6/3/2026 |
| 4.5.1 | 99 | 6/3/2026 |
| 4.5.0 | 109 | 6/2/2026 |
| 4.4.0 | 105 | 6/2/2026 |
| 4.3.0 | 109 | 6/2/2026 |
| 4.2.0 | 150 | 5/25/2026 |
| 4.1.0 | 130 | 5/22/2026 |
| 4.0.0 | 117 | 5/21/2026 |
| 3.8.0 | 193 | 5/14/2026 |
| 3.7.0 | 133 | 5/12/2026 |
| 3.6.0 | 133 | 5/12/2026 |
| 3.5.1 | 106 | 5/12/2026 |
| 3.5.0 | 95 | 5/12/2026 |