3 references to DisableForwardedHeadersAnnotation
Aspire.Hosting (2)
ProjectResourceBuilderExtensions.cs (2)
316
if (projectResource.GetEndpoints().Any() && !projectResource.Annotations.OfType<
DisableForwardedHeadersAnnotation
>().Any())
601
builder.WithAnnotation<
DisableForwardedHeadersAnnotation
>(ResourceAnnotationMutationBehavior.Replace);
Aspire.Hosting.Tests (1)
ProjectResourceTests.cs (1)
457
Assert.Contains(resource.Annotations, a => a is
DisableForwardedHeadersAnnotation
);