diff --git a/aspnetcore/security/cors.md b/aspnetcore/security/cors.md index b845d60d2d..10afece452 100644 --- a/aspnetcore/security/cors.md +++ b/aspnetcore/security/cors.md @@ -54,7 +54,7 @@ There are three ways to enable CORS: Using the [[EnableCors]](#attr) attribute with a named policy provides the finest control in limiting endpoints that support CORS. > [!WARNING] -> must be called before when using `UseResponseCaching`. +> must be called in the correct order. For more information, see [Middleware order](xref:fundamentals/middleware/index#middleware-order). For example, `UseCors` must be called before when using `UseResponseCaching`. Each approach is detailed in the following sections.