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 859297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:39:46+00:00 2026-05-15T08:39:46+00:00

I am making an action filter to do a check and see if a

  • 0

I am making an action filter to do a check and see if a user still has a valid key. I am just wondering what is in the base.OnActionExecuting(filterContext);?

Like do I need to call it?

Also where can I download the source for mvc 2.0? I know you could do it with 1.0 but I forgot where the files are.

  • 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-05-15T08:39:46+00:00Added an answer on May 15, 2026 at 8:39 am

    Chobo2, you would only call the base if there are other actions, within the frame work, that might impact on the outcome of your method.

    Take this;

        public bool Overide { get; set; }
    
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            if (!this.Overide)
            {
                filterContext.Result = new RedirectResult("/Home/Index");
            }
        }
    

    Clearly this code does not need to call base as all the code required to make the decision is contained within my method. If however, I was to set something in the framework that might affect execution then I’d call the base and let it decide.

    I think the 90/10 rule would be that you wouldn’t call base.

    As for MVC 2 download

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

Sidebar

Related Questions

I find my self hard to design action enums for events. f.ex making calculation
I've been trying to learn Action Script 3 the past few weeks, making tiny
Making a simple application, so when the user logs out of Windows, it of
I am making a video of a CMS in action. Any ideas which codec
I am making a rails(3.0.11) application using youtube_it api. My index action of videos
I am making a url like this url = new URL(http,localhost,9080,/path/to/my/resource/myAction.action); instead of making
I'm working with PHP, and I'm making an action page which a form posts
Im making a simple computerplayer to my simple 2d action game. it suppose to
I was wondering which method is the easiest or smartest way of making a
The short story: me and friend are making a multiplayer action game and we

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.