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

A .NET Aspire integration for extending sqlserver hosting.

Published
Jan 20, 2026
9mo ago
Total Downloads
242.0K
242,012

Install

dotnet add package CommunityToolkit.Aspire.Hosting.SqlServer.Extensions --version 13.1.2-beta.509
ProductVersions
.NET
net10.0net8.0net9.0

README

CommunityToolkit.Aspire.Hosting.SqlServer.Extensions library

This integration contains extensions for the SqlServer hosting package for .NET Aspire.

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

Getting Started

Install the package

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

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

Example usage

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

var sqlserver = builder.AddSqlServer("sqlserver")
    .WithDbGate()
    .WithAdminer();

Additional Information

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

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Changes from Previous Version

No structural changes between v13.1.2-beta.508 and v13.1.2-beta.509.

Adoption Assessment

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

This version is marked prerelease. Validate its API and upgrade path before production use.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.