.NET Core Code
using IronXL;
using System;
using System.Linq;
// Supported for XLSX, XLS, XLSM, XLTX, CSV and TSV
WorkBook workBook = WorkBook.Load("sample.xlsx");
// Select worksheet at index 0
WorkSheet workSheet = workBook.WorkSheets[0];
// Get any existing worksheet
WorkSheet firstSheet = workBook.DefaultWorkSheet;
// Select a cell and return the converted value
int cellValue = workSheet["A2"].IntValue;
// Read from ranges of cells elegantly.
foreach (var cell in workSheet["A2:A10"])
{
Console.WriteLine("Cell {0} has value '{1}'", cell.AddressString, cell.Text);
}
// Calculate aggregate values such as Min, Max and Sum
decimal sum = workSheet["A2:A10"].Sum();
// Linq compatible
decimal max = workSheet["A2:A10"].Max(c => c.DecimalValue);
Imports IronXL
Imports System
Imports System.Linq
' Supported for XLSX, XLS, XLSM, XLTX, CSV and TSV
Dim workBook As WorkBook = WorkBook.Load("sample.xlsx")
' Select worksheet at index 0
Dim workSheet As WorkSheet = workBook.WorkSheets(0)
' Get any existing worksheet
Dim firstSheet As WorkSheet = workBook.DefaultWorkSheet
' Select a cell and return the converted value
Dim cellValue As Integer = workSheet("A2").IntValue
' Read from ranges of cells elegantly.
For Each cell In workSheet("A2:A10")
Console.WriteLine("Cell {0} has value '{1}'", cell.AddressString, cell.Text)
Next
' Calculate aggregate values such as Min, Max and Sum
Dim sum As Decimal = workSheet("A2:A10").Sum()
' Linq compatible
Dim max As Decimal = workSheet("A2:A10").Max(Function(c) c.DecimalValue)
Technical Support From Our .NET Core Team
Get in touch with our product development and support team. Our team are on hand to answer your questions regarding licensing, product and usage for your project.
Work with Excel Files in .NET Core
A quick and easy approach to work with Excel and other Spreadsheet documents in dot net core. Works in dotnet core for multiple platforms including Azure with no extra dependencies or need to install MS Office or Interop.
Open & Save Multiple File Formats
IronXL allows .NET engineers to write and export Excel Spreadsheets from dotnet Core APPs. Open and Edit XLS/XLSX/CSV/TSV - Save and Export to XLS/XLSX/CSV/TSV/JSON. IronXL out performs free and Interop libraries at parsing, altering, and saving Excel documents.
SQL Support Out-of-the-box
Transfer Data between Excel, SQL and GridViews by opening spreadsheets as System.Data.DataSet and System.Data.DataTable objects.
Modify Excel Data
Edit Microsoft Excel formulas - recalculate every time a work sheet it changed. Quick and Easy WorkSheet [“A1:B10”] formatting. Merge and set Ranges, Columns and Rows.
Style Your Excel Documents
Set Font, Size, Background, Border, Alignment and Number format.Easy to Build with Visual Studio for .NET Core Projects
IronXL puts Excel Tools in your own hands with intellisense support. Install with NuGet for Visual Studio or a manual DLL download free for .NET Core. You'll be set up in the blink of an eye.Supports:
Excel Spreadsheet Tutorials for .NET Core

C#ExcelASP.NET

How to Create Excel Files in .NET Core
See How Jonas uses IronXL to generate Excel Files without using Office Interop...
View Jonas' Excel File Generation Tutorial
C#ExcelXLS

Open and Edit Excel Files in C# or VB.NET
Elijah shares a no-nonsense approach to reading Excel data into C# Applications...
See Elijah's Excel Reading & Editing Tutorial
C#ExcelData

How to Read Excel Files into .NET Apps.
Rebecca's code walkthrough for reading Excel data into a .NET application...
Read Becky's C# Tutorial.NET Core Engineers use IronXL for...
Accounting and Finance Systems
- # Receipts
- # Reporting
- # Invoice Printing
Business Digitization
- # Documentation
- # Ordering & Labelling
- # Paper Replacement

Enterprise Content Management
- # Content Production
- # Document Management
- # Content Distribution

Data and Reporting Applications
- # Performance Tracking
- # Trend Mapping
- # Reports

Thousands of corporations, governments, SMEs and developers alike trust Iron software products.
Iron's team have over 10 years experience in the .NET software component market.








Reading & Writing Excel Files in C#...
Ready to Get Started?
Nuget Downloads 2,237,574|Version:2026.9just released









