This integration contains extensions for the SqlServer hosting package for Aspire.
The integration provides support for running DbGate and Adminer to interact with the SqlServer database.
In your AppHost project, install the package using the following command:
dotnet add package CommunityToolkit.Aspire.Hosting.SqlServer.Extensions
Then, in the Program.cs file of AppHost, define an SqlServer resource, then call AddSqlServer:
var sqlserver = builder.AddSqlServer("sqlserver")
.WithDbGate()
.WithAdminer();https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-sqlserver-extensions