# FlagdResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.Flagd](/reference/api/csharp/communitytoolkit.aspire.hosting.flagd.md)
- Type: [FlagdResource](/reference/api/csharp/communitytoolkit.aspire.hosting.flagd/flagdresource.md)
- Kind: `Properties`
- Members: `7`

A resource that represents a flagd container.

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Flagd/FlagdResource.cs#L54-L56)

Gets the connection string expression for the flagd server.

```csharp
public ReferenceExpression ConnectionStringExpression { get; }
```

## HealthCheckEndpoint

- Name: `HealthCheckEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Flagd/FlagdResource.cs#L43)

Gets the health check HTTP endpoint for the flagd server.

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

## Host

- Name: `Host`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Flagd/FlagdResource.cs#L33)

Gets the host endpoint reference for this resource.

```csharp
public EndpointReferenceExpression Host { get; }
```

## OfrepEndpoint

- Name: `OfrepEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Flagd/FlagdResource.cs#L48)

Gets the OFREP endpoint for the flagd server.

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

## Port

- Name: `Port`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Flagd/FlagdResource.cs#L38)

Gets the port endpoint reference for this resource.

```csharp
public EndpointReferenceExpression Port { get; }
```

## PrimaryEndpoint

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

Gets the primary HTTP endpoint for the flagd server.

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

## UriExpression

- Name: `UriExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Flagd/FlagdResource.cs#L64)

Gets the connection URI expression for the flagd server.

```csharp
public ReferenceExpression UriExpression { get; }
```

## Remarks

Format: `http://{host}:{port}`.
