9 references to WithExposedHeaders
CorsWebSite (1)
Startup.cs (1)
47
.
WithExposedHeaders
("exposed1", "exposed2");
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsPolicyBuilder.cs (1)
249
WithExposedHeaders
(policy.ExposedHeaders.ToArray());
Microsoft.AspNetCore.Cors.Test (7)
CorsMiddlewareTests.cs (6)
78
.
WithExposedHeaders
("AllowedHeader"));
306
.
WithExposedHeaders
("AllowedHeader"));
349
.
WithExposedHeaders
("AllowedHeader"));
461
.
WithExposedHeaders
("AllowedHeader")
522
.
WithExposedHeaders
("AllowedHeader"));
597
.
WithExposedHeaders
("AllowedHeader"));
CorsPolicyBuilderTests.cs (1)
284
builder.
WithExposedHeaders
("exposed1", "exposed2");