This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Move AuthorizeFilter and CORS filters into a user friendly namespace #4310
Closed
Description
Looks like the some of our built-in filters that are tied to external attributes live in an internal namespace:
https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizeFilter.cs
https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Cors/Internal/CorsAuthorizationFilter.cs
Most of the time you don't interact with these filters directly unless you are configuring them as a global filter. These filters should live in a user friendly namespace.