Method UseAllowedOrigins
UseAllowedOrigins(IApplicationBuilder)
Configures the application to use CORS with the allowed origins registered in the service collection.
Declaration
public static IApplicationBuilder UseAllowedOrigins(this IApplicationBuilder app)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplicationBuilder | app |
Returns
| Type | Description |
|---|---|
| IApplicationBuilder |