Skip to content
DocsTry Aspire
DocsTry

ComposeServiceInfo Properties

ClassProperties2 members
Represents a running service discovered from a compose environment.
Gets the published port mappings for the service.
public IReadOnlyList<ComposeServicePort>? Publishers { get; init; }
ServiceSection titled Servicenullablestring?
Gets the name of the compose service.
public string? Service { get; init; }