CorsEndpointConventionBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
CORS extension methods for IEndpointConventionBuilder.
public ref class CorsEndpointConventionBuilderExtensions abstract sealed
public static class CorsEndpointConventionBuilderExtensions
type CorsEndpointConventionBuilderExtensions = class
Public Module CorsEndpointConventionBuilderExtensions
- Inheritance
-
CorsEndpointConventionBuilderExtensions
Methods
RequireCors<TBuilder>(TBuilder, Action<CorsPolicyBuilder>) |
Adds the specified CORS policy to the endpoint(s). |
RequireCors<TBuilder>(TBuilder, String) |
Adds a CORS policy with the specified name to the endpoint(s). |
RequireCors<TBuilder>(TBuilder) |
Adds a CORS policy with the default policy name to the endpoint(s). |