11 references to AllowAnyOrigin
CorsWebSite (2)
Startup.cs (2)
20
builder.
AllowAnyOrigin
()
56
.
AllowAnyOrigin
();
Microsoft.AspNetCore.Cors.Test (5)
CorsEndpointConventionBuilderExtensionsTests.cs (1)
39
testConventionBuilder.RequireCors(builder => builder.
AllowAnyOrigin
());
CorsOptionsTest.cs (2)
51
policyBuilder.
AllowAnyOrigin
().Build();
55
expectedPolicy = policyBuilder.
AllowAnyOrigin
().Build();
CorsPolicyBuilderTests.cs (2)
166
builder.
AllowAnyOrigin
();
338
.
AllowAnyOrigin
()
Microsoft.AspNetCore.Routing.FunctionalTests (3)
EndpointRoutingIntegrationTest.cs (3)
260
app.UseEndpoints(b => b.Map("/", TestDelegate).RequireCors(policy => policy.
AllowAnyOrigin
()));
292
app.UseEndpoints(b => b.MapPut("/", TestDelegate).RequireCors(policy => policy.
AllowAnyOrigin
().AllowAnyMethod()));
328
app.UseEndpoints(b => b.Map("/", TestDelegate).RequireCors(policy => policy.
AllowAnyOrigin
()));
Wasm.Performance.Driver (1)
BenchmarkResultsStartup.cs (1)
13
services.AddCors(c => c.AddDefaultPolicy(builder => builder.AllowAnyHeader().AllowAnyMethod().
AllowAnyOrigin
()));