# FlociContainerResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.Floci](/reference/api/csharp/communitytoolkit.aspire.hosting.floci.md)
- Type: [FlociContainerResource](/reference/api/csharp/communitytoolkit.aspire.hosting.floci/flocicontainerresource.md)
- Kind: `Properties`
- Members: `5`

Common base for Floci cloud-emulator container resources (AWS, Azure, GCP). Holds the shared endpoint/connection-string plumbing so each cloud only needs to implement its own image, container env vars, and Floci UI wiring.

<a id="connectionstringexpression"></a>

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Floci/FlociContainerResource.cs#L42)

Gets the emulator endpoint URL, following the primary endpoint's [FlociContainerResource.Scheme](/reference/api/csharp/communitytoolkit.aspire.hosting.floci/flocicontainerresource/properties.md#scheme).

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

<a id="host"></a>

## Host

- Name: `Host`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Floci/FlociContainerResource.cs#L24)

Gets the host endpoint reference for the primary endpoint.

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

<a id="port"></a>

## Port

- Name: `Port`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Floci/FlociContainerResource.cs#L29)

Gets the port endpoint reference for the primary endpoint.

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

<a id="primaryendpoint"></a>

## PrimaryEndpoint

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

Gets the primary endpoint reference for the Floci container.

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

<a id="scheme"></a>

## Scheme

- Name: `Scheme`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Floci/FlociContainerResource.cs#L36)

Gets the scheme endpoint reference for the primary endpoint. `http` unless a TLS certificate has been configured, in which case the endpoint is switched to `https` before the application starts. Floci serves both on the same port, so the port never changes.

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