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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:07:48+00:00 2026-05-21T15:07:48+00:00

Before I embark on a journey down the paths of learning ASP.NET MVC3, I

  • 0

Before I embark on a journey down the paths of learning ASP.NET MVC3, I wanted to try and get soem recommendations on something I know I’ll run into. If I have an application with different user/product levels that result in different users being able to perform different functions (e.g. user has signed up for the base level of the product, so they cannot upload audio while users on higher “tiers” can) are there recommendations on how I could handle this cleanly.

Example 1: Have the model or controller do X and have different Y or Z for each product level.

Example 2: Have inline markup in the view that displays feature available to “upper level” roles based on the result of a helper method.

I was thinking maybe there is a way to have different views and/or models and determine which one to hook up to a request based on some criteria.

Thanks, any suggestions would be appreciated.

  • 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-21T15:07:48+00:00Added an answer on May 21, 2026 at 3:07 pm

    That should definitely go into both places. For example, if your free tier does not allow for custom domains, whereas your paid ones do, simply removing an input for domain name will not suffice: a user might be able to hand-craft a POST request and include missing account.customDomain value. Hence, you’ll have to check for tier features in the controller as well.

    As for where and how to specify these tier restrictions, I too have this problem facin me at the moment. What I came up with is a simple XML file where I specify tier capabilities:

    <tiers>
      <defaults allow-custom-domain="false" allow-branding="false">
      <tier name="free" upload-limit="10MB" />
      <tier name="platinum" allow-custom-domain="true" allow-branding="true" upload-limit="2GB" />
    </tiers>
    

    And then a simpe C# class for encapsulating access to this spec and you’re all set.

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

Sidebar

Related Questions

I'm about to embark on a new Document Management System/Knowledge-base system using ASP.Net and
Before I started to try and make this thing, I wanted to know if
Before I embark on a a pretty decent overhaul of my web app to
Before I embark on writing my own, is there a List like construct that
Before someone down votes me for asking yet another centering problem. Please read my
Before I start: YES, this is a homework from college. Before I get told
Before I embark on writing my own solution to this issue, can anyone point
Before you decide its a tl:dr (too long, didnt read) post try to read
before I start I want to point out that I tagged this question as
Before asking the question let me preface with the fact that I am new

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.