# MongoExpressContainerResource Properties

- Package: [Aspire.Hosting.MongoDB](/reference/api/csharp/aspire.hosting.mongodb.md)
- Type: [MongoExpressContainerResource](/reference/api/csharp/aspire.hosting.mongodb/mongoexpresscontainerresource.md)
- Kind: `Properties`
- Members: `2`

A resource that represents a Mongo Express container.

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

## PrimaryEndpoint

- Name: `PrimaryEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.MongoDB/MongoExpressContainerResource.cs#L24)

Gets the primary endpoint for Mongo Express.

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

<a id="resourcetypedisplayname"></a>

## ResourceTypeDisplayName

- Name: `ResourceTypeDisplayName`
- Modifiers: `override` `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.MongoDB/MongoExpressContainerResource.cs#L15)

Gets the default human-readable name of this resource's type.

```csharp
public override string ResourceTypeDisplayName { get; }
```

## Remarks

Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use `ResourceBuilderExtensions.WithResourceTypeDisplayName` to override the label for an instance.
