28 references to CorsPolicyBuilder
Microsoft.AspNetCore.Cors (3)
Infrastructure\CorsEndpointConventionBuilderExtensions.cs (1)
58
var policyBuilder = new
CorsPolicyBuilder
();
Infrastructure\CorsMiddlewareExtensions.cs (1)
51
var policyBuilder = new
CorsPolicyBuilder
();
Infrastructure\CorsOptions.cs (1)
75
var policyBuilder = new
CorsPolicyBuilder
();
Microsoft.AspNetCore.Cors.Test (25)
CorsMiddlewareTests.cs (6)
224
var policy = new
CorsPolicyBuilder
(OriginUrl)
644
var policy = new
CorsPolicyBuilder
()
806
var policy = new
CorsPolicyBuilder
().Build();
837
var defaultPolicy = new
CorsPolicyBuilder
().Build();
838
var metadataPolicy = new
CorsPolicyBuilder
().Build();
875
var policy = new
CorsPolicyBuilder
().Build();
CorsPolicyBuilderTests.cs (19)
72
var builder = new
CorsPolicyBuilder
();
96
var builder = new
CorsPolicyBuilder
(origins);
115
var builder = new
CorsPolicyBuilder
();
130
var builder = new
CorsPolicyBuilder
("http://www.EXAMPLE.com", "HTTPS://example2.com");
141
var builder = new
CorsPolicyBuilder
();
152
var builder = new
CorsPolicyBuilder
();
163
var builder = new
CorsPolicyBuilder
();
178
var builder = new
CorsPolicyBuilder
();
193
var builder = new
CorsPolicyBuilder
("http://*.example.com");
207
var builder = new
CorsPolicyBuilder
("http://*.example.com");
221
var builder = new
CorsPolicyBuilder
();
236
var builder = new
CorsPolicyBuilder
();
251
var builder = new
CorsPolicyBuilder
();
266
var builder = new
CorsPolicyBuilder
();
281
var builder = new
CorsPolicyBuilder
();
295
var builder = new
CorsPolicyBuilder
();
309
var builder = new
CorsPolicyBuilder
();
323
var builder = new
CorsPolicyBuilder
();
337
var builder = new
CorsPolicyBuilder
()