ExcelDocumentsModule 1.0.2

dotnet add package ExcelDocumentsModule --version 1.0.2
NuGet\Install-Package ExcelDocumentsModule -Version 1.0.2
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="ExcelDocumentsModule" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ExcelDocumentsModule --version 1.0.2
#r "nuget: ExcelDocumentsModule, 1.0.2"
#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.
// Install ExcelDocumentsModule as a Cake Addin
#addin nuget:?package=ExcelDocumentsModule&version=1.0.2

// Install ExcelDocumentsModule as a Cake Tool
#tool nuget:?package=ExcelDocumentsModule&version=1.0.2

Supports .NET Core 3.xx This module allows easy to write/read excel files to DataSet using OpenXml under the hood and supports MS Orleans ver. 3.2 and higher.

Please feel free to fork and submit pull requests to the develop branch.

Supported file formats and versions

Extension Excel Version(s) .xlsx 2007 and newer .xls 2003, and newer .csv Only with the comma separator

How to use read method without MS Orleans:

/// "ReadDocument" method has bool parameter "isFirstRowHeader" which works only with .xls and .xlsx files.
/// CSV files always use the comma separator to define the first row as a header inside the DataSet. 

var excelModule = new ExcelModule();
var filePath = "../Some/Directory/FileName.xlsx";
var dataSet = excelModule.ReadDocument(filePath);

How to use write method without MS Orleans:

var excelModule = new ExcelModule();
var outputFilePath = "../Some/Directory/FileName.xlsx";
var dataSetToFile = new DataSet();
//...
// Adding some data to dataSetToFile...
//...

excelModule.WriteDocument(dataSetToFile, outputFilePath);

How to use ExcelDocumentsModule with MS Orleans: Just replace new ExcelModule(); or container.Resolve<IExcelModule>(); to client.GetGrain<IExcelModuleOrleans>(Guid.NewGuid()); where the client is IClusterClient.

For more information look at the tests projects.

Product 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. 
.NET Core netcoreapp3.1 is compatible. 
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
1.0.2 751 7/23/2020
1.0.1.1 517 7/23/2020
1.0.1 397 7/23/2020
1.0.0 438 7/23/2020