# DbGateContainerResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.DbGate](/reference/api/csharp/communitytoolkit.aspire.hosting.dbgate.md)
- Type: [DbGateContainerResource](/reference/api/csharp/communitytoolkit.aspire.hosting.dbgate/dbgatecontainerresource.md)
- Kind: `Properties`
- Members: `1`

Represents a container resource for DbGate.

## PrimaryEndpoint

- Name: `PrimaryEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.DbGate/DbGateContainerResource.cs#L19)

Gets the primary endpoint for the DbGate.

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