Attributes
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple=false, Inherited=true)] public sealed class AllowAnonymousAttribute : AttributeThis new attribute allows you to secure an entire controller using
AuthorizeAttribute but still expose individual actions for anonymous access.