How to build role based app?

Discussion in 'ASP .Net' started by JohnC, Jan 21, 2007.

  1. JohnC

    JohnC Guest

    I'm in the concept stage of putting together a web application.
    Certain featues will be available only if the person has been given
    access. This is based on their particular subscription. I can create
    database tables that have an entry for each user and the features they
    have access to. The logic that decides whether the feature should be
    diplayed or not (reading values from tables) will be at the .NET class
    level.

    I want to make this load as fast as possible so the user has a good
    experience. Once values are read from the database, I can cache them,
    although I will still have to do the logic part. That means hitting
    the disk to load the class again (right?). I don't have much
    experience designing role based apps and would like suggestions.

    What is the best way to go about designing this type of role based app
    with speed in mind?

    Also, the app will go into a subfolder on my site. It will act as a
    mini website for each user (from above) that creates an app. Visitors
    will be able to view these apps. They see only features that are
    available to the owner of that app (based on his subscriptions). How
    should the cache be used in this case (session based on client, server,
    etc?) or should the cache be used.

    Thanks,
    John
    JohnC, Jan 21, 2007
    #1
    1. Advertising

  2. JohnC

    Jon Paal Guest

    google this

    asp.net role based user management

    and look here

    http://msdn2.microsoft.com/en-us/library/ms998314.aspx


    "JohnC" <> wrote in message news:...
    > I'm in the concept stage of putting together a web application.
    > Certain featues will be available only if the person has been given
    > access. This is based on their particular subscription. I can create
    > database tables that have an entry for each user and the features they
    > have access to. The logic that decides whether the feature should be
    > diplayed or not (reading values from tables) will be at the .NET class
    > level.
    >
    > I want to make this load as fast as possible so the user has a good
    > experience. Once values are read from the database, I can cache them,
    > although I will still have to do the logic part. That means hitting
    > the disk to load the class again (right?). I don't have much
    > experience designing role based apps and would like suggestions.
    >
    > What is the best way to go about designing this type of role based app
    > with speed in mind?
    >
    > Also, the app will go into a subfolder on my site. It will act as a
    > mini website for each user (from above) that creates an app. Visitors
    > will be able to view these apps. They see only features that are
    > available to the owner of that app (based on his subscriptions). How
    > should the cache be used in this case (session based on client, server,
    > etc?) or should the cache be used.
    >
    > Thanks,
    > John
    >
    Jon Paal, Jan 21, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jesper Stocholm
    Replies:
    2
    Views:
    8,061
    John Saunders
    Aug 23, 2003
  2. Liet Kynes
    Replies:
    0
    Views:
    471
    Liet Kynes
    Nov 26, 2003
  3. perplexed

    Correct model for role based app?

    perplexed, Jan 24, 2007, in forum: ASP .Net
    Replies:
    6
    Views:
    293
    perplexed
    Jan 25, 2007
  4. Cy Huckaba
    Replies:
    1
    Views:
    104
  5. Kursat
    Replies:
    1
    Views:
    298
    Dominick Baier
    May 7, 2007
Loading...

Share This Page