Skip to content
Docs Try Aspire
Docs Try

IngressPathType

Enum net8.0
📦 Aspire.Hosting.Kubernetes v13.3.0-preview.1.26254.5
Specifies the type of path matching used in a Kubernetes Ingress rule.
namespace Aspire.Hosting.Kubernetes;
public enum IngressPathType
Prefix = 0
Matches based on a URL path prefix split by /. Matching is case-sensitive and done element-by-element. For example, /api matches /api, /api/, and /api/v1 but not /apiv1.
Exact = 1
Matches the URL path exactly and with case sensitivity.
ImplementationSpecific = 2
Matching is delegated to the ingress controller. Check the controller's documentation for the supported matching semantics.