# LogtoResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.Logto](/reference/api/csharp/communitytoolkit.aspire.hosting.logto.md)
- Type: [LogtoResource](/reference/api/csharp/communitytoolkit.aspire.hosting.logto/logtoresource.md)
- Kind: `Properties`
- Members: `5`

Represents a containerized resource specific to Logto that extends the base functionality of container resources by providing additional endpoint and connection string management.

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

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Logto/LogtoResource.cs#L58-L59)

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

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

## Host

- Name: `Host`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Logto/LogtoResource.cs#L36)

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

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

## Port

- Name: `Port`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Logto/LogtoResource.cs#L48)

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

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

## PrimaryEndpoint

- Name: `PrimaryEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Logto/LogtoResource.cs#L29)

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

<a id="uriexpression"></a>

## UriExpression

- Name: `UriExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Logto/LogtoResource.cs#L65)

Gets the connection URI expression for the Logto container resource.

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