Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8542971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:11:38+00:00 2026-06-11T12:11:38+00:00

I recently begun to migrate a ASP.Net MVC 2 project to MVC 4. Now

  • 0

I recently begun to migrate a ASP.Net MVC 2 project to MVC 4. Now it seems that all worked fine (as far as I can tell for now) except my custom Authorize Attribute, this didn’t get called at all.

Class

[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class Authenticated : AuthorizeAttribute

Sample ussage

[Authenticated]
public ActionResult ChangePassword(string password)

Has there been any changes? What am I missing?

Edit

How would I debug this, when the Attribute methods self didn’t get called?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T12:11:40+00:00Added an answer on June 11, 2026 at 12:11 pm

    No, there aren’t any changes in respect to custom action filters. Assuming you have controller/actions decorated with this attribute the OnAuthorization will always be called.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've recently begun doing ASP.NET MVC work with others using Visual Studio. While MonoDevelop
I recently began working on a large ASP.NET WebForms project. The project was using
I've recently begun building version 2 of my year-old custom MVC framework. It's worked
I have just recently begun writing an application in ASP.NET MVC4. My application has
Recently, I've begun to notice that Visual Studio 2008 isn't finding all of the
I've recently begun working on a project regarding GUI building using some form of
I have recently begun delving into the world that is database programming with C++
An application that I support has recently begun experiencing extended periods of time required
I recently began working on a large project that contains a huge number of
I've recently begun a fairly small 2D project using SFML and TinyXML and have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.