Invalid Arguments error in Global.asax in mvc
问题 I`m trying to follow the tutorial Securing Asp.net but when i try to put this line GlobalConfiguration.Configuration.Filters.Add(new System.Web.Http.AuthorizeAttribute()); it gives me a following error The best overloaded method match for 'System.Web.Http.Filters.HttpFilterCollection.Add(System.Web.Http.Filters.IFilters)' has some invalid agruments below is my Global.asax code using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using