5 references to EnableCorsAttribute
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsEndpointConventionBuilderExtensions.cs (1)
25endpointBuilder.Metadata.Add(new EnableCorsAttribute());
Microsoft.AspNetCore.Cors.Test (3)
CorsMiddlewareTests.cs (3)
756httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableCorsAttribute(), new DisableCorsAttribute()), "Test endpoint")); 788httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableCorsAttribute(), new DisableCorsAttribute()), "Test endpoint")); 893httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableCorsAttribute()), "Test endpoint"));
Microsoft.AspNetCore.Http.Connections.Tests (1)
MapConnectionHandlerTests.cs (1)
449[EnableCors]