Cors
Implementations of this feature adds and configures services and middlewares to enable Cross-Origin Resource Sharing (CORS)
Add this feature using AddCors()
extension;
app.Features.AddCors();
AspNetCore
This feature adds AspNetCore
cors services and middleware.
c => c.AspNetCore([...])
}
Disabled
You can disable this feature by calling Disabled()
method;
c => c.Disabled()