© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•16mo ago•
2 replies
nathanAjacobs

Aspire and PgAdmin

Hi I'm trying to run PgAdmin but it is failing to connect and I am unsure why.

IResourceBuilder<ParameterResource>? postgresPassword = builder.AddParameter("postgresspassword", secret: true);

var db = builder.AddPostgres(ServiceNames.LINK_DATABASE.SERVER_NAME, postgresPassword)
    .WithDataVolume()
    .WithPgAdmin()
    .AddDatabase(ServiceNames.LINK_DATABASE.NAME);
IResourceBuilder<ParameterResource>? postgresPassword = builder.AddParameter("postgresspassword", secret: true);

var db = builder.AddPostgres(ServiceNames.LINK_DATABASE.SERVER_NAME, postgresPassword)
    .WithDataVolume()
    .WithPgAdmin()
    .AddDatabase(ServiceNames.LINK_DATABASE.NAME);
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ dotnet Aspire
C#CC# / help
4mo ago
.Net Aspire
C#CC# / help
15mo ago
Aspire .net + Flutter
C#CC# / help
15mo ago
Aspire + EF Core
C#CC# / help
3y ago