1 instantiation of ProxySupportAnnotation
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
721
builder.WithAnnotation(new
ProxySupportAnnotation
{ ProxyEnabled = proxyEnabled }, ResourceAnnotationMutationBehavior.Replace);
4 references to ProxySupportAnnotation
Aspire.Hosting (4)
ApplicationModel\ProxySupportAnnotation.cs (1)
16
/// Create a new instance of the <see cref="
ProxySupportAnnotation
"/> class.
ApplicationModel\ResourceExtensions.cs (3)
578
/// Determines whether a resource has proxy support enabled or not. Container resources may have a <see cref="
ProxySupportAnnotation
"/> setting that disables proxying for their
586
return !resource.TryGetLastAnnotation<
ProxySupportAnnotation
>(out
var
proxySupportAnnotation) || proxySupportAnnotation.ProxyEnabled;