This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Includes: Hosting integration only —
Client integration not included
Note
This integration is part of theAspire Community Toolkit andisn't officially supported by the Aspire team.
In this article, you learn about the Aspire Community Toolkit PostgreSQL hosting extensions package which provides extra functionality to the AspirePostgreSQL hosting package.
This package provides the following features:
To get started with the Aspire Community Toolkit PostgreSQL hosting extensions, install the📦 CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions NuGet package in the AppHost project.
dotnet add package CommunityToolkit.Aspire.Hosting.PostgreSQL.ExtensionsFor more information, seedotnet add package orManage package dependencies in .NET applications.
To add the DbGate management UI to your PostgreSQL resource, call theWithDbGate method on thePostgresServerResource instance.
var postgresServer = builder.AddPostgreSQL("PostgreSQL") .WithDbGate();To add the Adminer management UI to your PostgreSQL resource, call theWithAdminer method on thePostgresServerResource instance.
var postgresServer = builder.AddPostgreSQL("PostgreSQL") .WithAdminer();This will add a new resource to the AppHost which will be available from the Aspire dashboard.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?