Skip to main content
Published
May 14, 2026
5mo ago
Total Downloads
48.9K
48,890

Install

dotnet add package CommunityToolkit.Aspire.Hosting.MySql.Extensions --version 13.3.0
ProductVersions
.NET
net10.0net8.0net9.0

README

CommunityToolkit.Aspire.Hosting.MySql.Extensions library

This integration contains extensions for the MySql hosting package for Aspire.

The integration provides support for running Adminer and DbGate to interact with the MySql database.

Getting Started

Install the package

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

dotnet add package CommunityToolkit.Aspire.Hosting.MySql.Extensions

Example usage

Then, in the Program.cs file of AppHost, define an MySql resource, then call AddMySql:

var mysql = builder.AddMySql("mysql")
    .WithDbGate()
    .WithAdminer();

Additional Information

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

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Changes from Previous Version

No structural changes between v13.2.1-beta.604 and v13.3.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.