IRONSOFTWAREHOME

Can I Run IronXL with .NET on Azure?

Curtis Chau
Curtis Chau
Updated: July 21, 2026

Yes, IronXL can be used on Azure to create, read, and edit Excel spreadsheets (XLSX/XLS/CSV) in C# & VB .NET applications.

IronXL has been thoroughly tested on multiple Azure platforms including MVC websites, Azure Functions, and many more.


Step 1

1. Install IronXL to Get Started

First install with NuGet: https://www.nuget.org/packages/IronXL.Excel

PM > Install-Package IronXL.Excel


How to Tutorial

2. Performance and Azure Tiers

We recommend that Azure B1 hosting levels are very suitable for our end users' Library needs. If they are creating a high throughput system, this may need to be upgraded.

3. Framework Choice

We have found that IronXL for Core and for Framework both work on Azure. .NET Standard applications seem to have a small performance advantage on speed and stability, but use more memory in process.

Azure free tier hosting is slow

Azure free and shared tiers, and the consumption plan, are not suitable for heavy/high-throughput Excel processing. We recommend Azure B1 hosting/Premium plan, which is what we use ourselves.

4. Docker on Azure

One way to gain the ability to control performance on Azure is to use IronXL applications and Functions from within Docker Containers.

We have a comprehensive IronXL Azure Docker tutorial for Linux and Windows instances and it is recommended reading.

5. Official Azure Function Support

IronXL supports Azure Function (Azure Functions V3). It hasn't been tested with V4 till now, but it is in our queue.

Working Azure Function Code Example

Tested on Azure Functions v3.3.1.0+. Here is a sample code:

using System.Net;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using IronXL;
using System.Net.Http.Headers;

// This is an Azure Function that processes an HTTP request and returns an Excel file
[FunctionName("excel")]
public static HttpResponseMessage Run(
    [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequest req,
    ILogger log)
{
    // Log the processing of the request
    log.LogInformation("C# HTTP trigger function processed a request.");

    // Set the IronXL license key
    IronXL.License.LicenseKey = "Key";

    // Load an existing workbook
    var workBook = WorkBook.Load("test-wb.xlsx");

    // Create a response with the workbook content as an attachment
    var result = new HttpResponseMessage(HttpStatusCode.OK);
    result.Content = new ByteArrayContent(workBook.ToByteArray());
    result.Content.Headers.ContentDisposition = new ContentDispositionHeaderValue("attachment")
    { 
        FileName = $"{DateTime.Now:yyyyMMddmm}.xlsx" 
    };
    result.Content.Headers.ContentType = new MediaTypeHeaderValue("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
    
    // Return the response
    return result;
}

Frequently Asked Questions

Can IronXL be used on Azure to handle Excel files?

Yes, IronXL can be used on Azure to create, read, and edit Excel spreadsheets (XLSX/XLS/CSV) in C# & VB .NET applications. It has been tested on platforms like MVC websites and Azure Functions.

Which Azure hosting level is recommended for IronXL applications?

The Azure B1 hosting level is highly recommended for running IronXL applications, especially if you're dealing with high-throughput systems that need more resources.

Does IronXL work with Docker on Azure?

Yes, IronXL can be used within Docker containers on Azure to give you control over performance. Detailed guidance is available in the IronXL Azure Docker tutorial for both Linux and Windows instances.

What frameworks are compatible with IronXL on Azure?

IronXL works on both .NET Core and .NET Framework on Azure. While .NET Standard applications tend to offer better speed and stability, they also consume more memory.

Do Azure free tier hosting plans support IronXL effectively?

No, Azure free and shared tiers, as well as the consumption plan, are not suitable for heavy or high-throughput Excel processing with IronXL. A more robust plan like Azure B1 or higher is recommended.

Is IronXL compatible with Azure Functions?

Yes, IronXL supports Azure Functions, specifically tested with Azure Functions V3. Though support for V4 hasn't been tested yet, it is on the roadmap.

Where can I find a code example for using IronXL with Azure Functions?

A working Azure Function code example using IronXL is provided in our guide. It illustrates how to process an HTTP request and return an Excel file using Azure Functions v3.3.1.0+.

How can I install IronXL for my project hosted on Azure?

You can install IronXL using NuGet. Simply visit [NuGet packages for IronXL.Excel](https://www.nuget.org/packages/IronXL.Excel) to get started.

Curtis Chau
Technical Writer

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.

...
Read More

Ready to Get Started?

Nuget Downloads 2,237,574Version:2026.9just released

Get your free 30-day Trial Key instantly.
No credit card or account creation required
C# NuGet Library for PDF
Install with NuGet

Version: 2026.9

PM > Install-Package IronXL.Excel
nuget.org/packages/IronXL.Excel/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronXL"
  3. Select the package and install
C# PDF DLL
Download DLL

Version: 2026.9

  1. Download and unzip IronXL to a location such as ~/Libs within your Solution directory
  2. In Visual Studio Solution Explorer, right click References. Select Browse, "IronXL.dll"

Licenses from $999

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required