Search code examples
asp.net-mvcasp.net-membership

Where is Filters folder in ASP .NET MVC 5 solution known from MVC 4


I follow Scott Allen's tutorial through MVC 4. He talks about InitializeSimpleMembershipAttributes file inside Filters folder. I can't find any of it in my solution. What did I do wrong?

enter image description here


Solution

  • There is no Filters folder in MVC5. The Filters folder is there for the SimpleMembership filters that were introduced in MVC4. MVC5 does not use SImpleMembership, but uses ASP.NET Identity which does not have those filters, thus no filter folder is present.