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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:06:57+00:00 2026-05-20T01:06:57+00:00

I am about to create my first proper application in ASP.NET MVC3. It is

  • 0

I am about to create my first proper application in ASP.NET MVC3.

It is basically a jobs site with 3 levels:

1) Users – No registration and can view all jobs posted on the website
2) Posters – Need to register and login to post adverts
3) Admin – Need to register and login to post adverts and review postings before they go live

Would you suggest I use the same Jobs controller for the three levels I mention above? With a LIST action to show jobs to “Users” and a CREATE & EDIT action for the “Posters” & “Admin”?

Thanks Paul

  • 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-20T01:06:58+00:00Added an answer on May 20, 2026 at 1:06 am

    You should enable roles in your application and define 2 of them: ‘Admin’, ‘RegisteredUser’.

    You then create 3 controllers.
    1 for regular users
    1 for Admins
    1 for RegisteredUsers.

    You can then secure your controllers as follows:

    [Authorize(Roles = "Admin")]
    public class AdminController : Controller
    {
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm about to create an API for a existing .NET application and want to
I'm about to create a site that will act as public front site of
I am about to create an application with Ruby on Rails and I would
I'm about to create a java crossword application but I am unsure of what
every night i have a trigger that executes asp.net page with method that first
I am about to create my first Android native (so not browser based) app
I'm building an e-commerce site using C#, MVC3, Entity Framework 4, my first stab
Whenever I first create a CTFont object it consumes about 10 MB of real
About to create a form using Zend Form, all the form elements should have
I am about to create a ViewModel to pass some data to a View.

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.