SlimExcelReader 1.0.0

Package Description

Install-Package SlimExcelReader -Version 1.0.0
dotnet add package SlimExcelReader --version 1.0.0
<PackageReference Include="SlimExcelReader" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SlimExcelReader --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SlimExcelReader, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SlimExcelReader as a Cake Addin
#addin nuget:?package=SlimExcelReader&version=1.0.0

// Install SlimExcelReader as a Cake Tool
#tool nuget:?package=SlimExcelReader&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

SlimExcelReader

Function

Read a cell string value (no formula value support currently) from a specified cell, on a specified sheet, in an Excel xlsx document

Why another library?

I needed to read cell values out of a large (>50MB) excel file from within an Azure function.
I tried 3 or 4 popular openxml based libraries
The libraries either:

  • failed to open the file (parse / stream exceptions)
  • Caused memory usage to soar over 1GB and, subsequently, caused Azure function timeouts

Directly using the openxml library was clunky as well

However, I had to use openxml directly in the end, to keep memory usage low, and process time snappy.

Hopefully someone else finds this wrapper helpful!

Example

SlimExcelReader.ExcelReader reader = new ExcelReader("my.xlsx");
reader.OpenExcelReader();
reader.SheetName = "My Sheet";
var cellValue = reader.GetValue("A1");

SlimExcelReader

Function

Read a cell string value (no formula value support currently) from a specified cell, on a specified sheet, in an Excel xlsx document

Why another library?

I needed to read cell values out of a large (>50MB) excel file from within an Azure function.
I tried 3 or 4 popular openxml based libraries
The libraries either:

  • failed to open the file (parse / stream exceptions)
  • Caused memory usage to soar over 1GB and, subsequently, caused Azure function timeouts

Directly using the openxml library was clunky as well

However, I had to use openxml directly in the end, to keep memory usage low, and process time snappy.

Hopefully someone else finds this wrapper helpful!

Example

SlimExcelReader.ExcelReader reader = new ExcelReader("my.xlsx");
reader.OpenExcelReader();
reader.SheetName = "My Sheet";
var cellValue = reader.GetValue("A1");

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 175 6/20/2020