# KurrentDBResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.KurrentDB](/reference/api/csharp/communitytoolkit.aspire.hosting.kurrentdb.md)
- Type: [KurrentDBResource](/reference/api/csharp/communitytoolkit.aspire.hosting.kurrentdb/kurrentdbresource.md)
- Kind: `Properties`
- Members: `5`

A resource that represents a KurrentDB container.

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.KurrentDB/KurrentDBResource.cs#L36-L37)

Gets the connection string for the KurrentDB server.

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

## Host

- Name: `Host`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.KurrentDB/KurrentDBResource.cs#L25)

Gets the host endpoint reference for this resource.

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

## Port

- Name: `Port`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.KurrentDB/KurrentDBResource.cs#L30)

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/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.KurrentDB/KurrentDBResource.cs#L20)

Gets the primary endpoint for the KurrentDB server.

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

## UriExpression

- Name: `UriExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.KurrentDB/KurrentDBResource.cs#L45)

Gets the connection URI expression for the KurrentDB server.

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

## Remarks

Format: `kurrentdb://{host}:{port}?tls=false`.
