Skip to main content
net8.0net9.0net10.0

A .NET Aspire hosting integration for MinIO

Published
Nov 25, 2025
10mo ago
Total Downloads
198.9K
198,920

Install

dotnet add package CommunityToolkit.Aspire.Hosting.Minio --version 13.0.0
ProductVersions
.NET
net10.0net8.0net9.0

README

CommunityToolkit.Aspire.Hosting.MinIO library

Provides extension methods and resource definitions for the .NET Aspire AppHost to support running MinIO containers.

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.Minio

Example usage

Then, in the Program.cs file of AppHost, add a MinIO resource and consume the connection using the following methods:

var builder = DistributedApplication.CreateBuilder(args);

var minio = builder.AddMinio("minio");

var myService = builder.AddProject<Projects.MyService>()
                       .WithReference(minio);

builder.Build().Run();

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-minio

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Changes from Previous Version

No structural changes between v13.0.0-beta.462 and v13.0.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.