10 references to AddPolicy
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
207
options.
AddPolicy
(OtlpHttpEndpointsBuilder.CorsPolicyName, builder =>
CorsWebSite (6)
Startup.cs (6)
16
options.
AddPolicy
(
24
options.
AddPolicy
(
31
options.
AddPolicy
(
39
options.
AddPolicy
(
50
options.
AddPolicy
(
59
options.
AddPolicy
(
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsOptions.cs (1)
49
AddPolicy
(DefaultPolicyName, configurePolicy);
Microsoft.AspNetCore.Cors.Test (2)
CorsMiddlewareTests.cs (1)
464
options.
AddPolicy
("policy2", policyBuilder =>
CorsOptionsTest.cs (1)
49
corsOptions.
AddPolicy
("policy1", policyBuilder =>