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(...);
ASP.NET Core
This feature adds AspNetCore cors services and middleware.
c => c.AspNetCore([...])