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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:51:41+00:00 2026-05-12T23:51:41+00:00

I am using asp.net mvc 1.0. I know asp.net mvc has a couple attribute

  • 0

I am using asp.net mvc 1.0. I know asp.net mvc has a couple attribute classes such as “AuthorizeAttribute”, ActionFilter? and I think there is like 2 more.

So I have made my own AuthorizeAttribute but I am not sure if this is the right one to use again or if I even need to inherit any of these built in classes.

What I am trying to do this is. Every time a user hits an action method I want to check if there subscription length has expired. If it has return them to the page to buy a new subscription otherwise let them go on their way.

I don’t want to add this to my Custom AuthorizeAttribute because I have one plan that is free and thus does not need this. So I was thinking of having another sort of tag like this and put it under the AuthorizeAttribute this way if they are not authorized they get caught by that one. If they are but there subscription they get caught by the new one.

So how should I go out building this?

Thanks

  • 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-12T23:51:42+00:00Added an answer on May 12, 2026 at 11:51 pm

    As for tutorials and samples, check out:

    • Understanding Action Filters
    • Logging with ASP.NET MVC Action Filters
    • ASP.NET MVC – Action Filters
    • ASP.NET MVC Action Filters
    • Custom Action Filter in ASP.Net MVC application

    Hope those help a bit !

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

Sidebar

Related Questions

I'm using ASP.NET MVC Preview 4 and would like to know how to use
Using ASP.NET MVC there are situations (such as form submission) that may require a
I know this site is written using ASP.Net MVC and I do not see
I'm starting a project that will be public facing using asp.net mvc. I know
Using asp.net MVC I'd like to do this inside a view: <%= Html.TextBox(textbox1, null,
Has anyone tried using ASP.NET MVC's WebForms view engine to do code generaiton? I
I am using ASP.NET-MVC, and would like to format my html prior to sending
I would like to start with integration testing. I am using an ASP.NET MVC
If you are using ASP.NET MVC how are you doing grid display? Rolled your
I am using asp.net mvc for an application. I've taken some guidance from Rob

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.