Skip to content
DocsTry Aspire
DocsTry

NamedComposeMember Properties

ClassProperties1 member
Represents a generic named member within a Docker Compose configuration structure.
Gets or sets the name of the Docker Compose member.
public string Name { get; set; }
This property is used to uniquely identify the member (e.g., network, service) within the Docker Compose configuration. It must be explicitly defined for all derived types.