Member-only story

ASP.NET Core Web — Excel Operations with ClosedXML

Semih Çelikol
7 min readJan 16, 2025

--

Photo by Łukasz Łada on Unsplash

Hello everyone,
In my previous post, I explained how to read data from Excel. ExcelDataReader is a library that can only be used for reading operations, making it small in size and easy to use. However, sometimes in our projects, we need to both read from and write to Excel. Therefore, I started looking for a library that can handle both operations. As a result, I came across ClosedXML.

Today, I will try to explain how we can read a file from Excel and export data to Excel in our ASP.NET Core Web App project. Normally, I would explain these processes directly on the console screen, but this time I wanted to show it on the web, thus demonstrating file upload processes as well.

Let’s start by opening a new project.

--

--

No responses yet