# PgWebContainerResource Properties

- Package: [Aspire.Hosting.PostgreSQL](/reference/api/csharp/aspire.hosting.postgresql.md)
- Type: [PgWebContainerResource](/reference/api/csharp/aspire.hosting.postgresql/pgwebcontainerresource.md)
- Kind: `Properties`
- Members: `1`

Represents a container resource for pgweb.

## PrimaryEndpoint

- Name: `PrimaryEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.PostgreSQL/PgWebContainerResource.cs#L21)

Gets the primary endpoint for the pgweb.

```csharp
public EndpointReference PrimaryEndpoint { get; }
```
