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