# PgWebContainerResource

- Kind: `class`
- Package: [Aspire.Hosting.PostgreSQL](/reference/api/csharp/aspire.hosting.postgresql.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Postgres`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.PostgreSQL/PgWebContainerResource.cs)
- Inherits: `ContainerResource`

Represents a container resource for pgweb.

## Definition

```csharp
namespace Aspire.Hosting.Postgres;

public sealed class PgWebContainerResource
    : Aspire.Hosting.ApplicationModel.ContainerResource
{
    // ...
}
```

## Constructors

- [PgWebContainerResource(string)](/reference/api/csharp/aspire.hosting.postgresql/pgwebcontainerresource/constructors.md#constructor-string) -- Represents a container resource for pgweb.

## Properties

- [PrimaryEndpoint](/reference/api/csharp/aspire.hosting.postgresql/pgwebcontainerresource/properties.md#primaryendpoint) : `EndpointReference` `get` -- Gets the primary endpoint for the pgweb.
