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

  • Home
  • SEARCH
  • 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 4272458
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T07:34:50+00:00 2026-05-21T07:34:50+00:00

Howdy, I’d like to create a website with c# and ASP.NET. This Website should

  • 0

Howdy,
I’d like to create a website with c# and ASP.NET. This Website should feature a front end which is accessable by all visitors – and then I’d like to create a backend which is only accessibly after the user logged in … however I’m facing a couple problems since this is my first web project in C# and in general.

I think I have to create at least 3 classes:

Page – ( every page should inherit this page )
holds if the page should be an open or closed page
Loginpage
Membership Page
Checks if the user is really logged in and which user it is.

I have no clue if this is the right way to do it – and how I should do. I would be really grateful 4 help.

  • 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-21T07:34:50+00:00Added an answer on May 21, 2026 at 7:34 am

    Take a look at the MembershipProvider. ASP.NET comes with some pre-rolled controls for logging users in and out, as well as several mechanisms for checking whether a user is logged in and what roles they have. You can secure resources programmatically by checking on what roles the current user has and make decisions in code, or in the web config by requiring specific user names and/or roles to access a given resource (such as a page).

    Here’s an intro link to get you started:
    http://msdn.microsoft.com/en-us/library/yh26yfzy.aspx

    Once you’re done getting a general feel for what the MembershipProvider is, here’s a video to walk you through setting up a SqlMembershipProvider:

    http://www.asp.net/general/videos/how-do-i-set-up-the-sql-membership-provider

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

Sidebar

Related Questions

Edit: My debugger was lying to me. This is all irrelevant Howdy all, I
Howdy all. I am trying to solve a problem which is apparently not uncommon
Howdy! I want to make calculator in asp.net. without involving html and ajax, I
Howdy! I am looking for a way to list all of the image files
I would like to slice random letters from a string. Given s="howdy" I would
Howdy. It's me again, and It's jQuery again. I have somthing like that: http://misiur.com/small/
Hi there I just want to create a simple golang applications, which posts a
I would like make all text within div.main gray except for all content within
Howdy fellas, this one is gonna be a doozy: So for awhile I've been
Howdy, I am trying to understand this method signature: public <K> Map<K, String> getMulti(Serializer<K>

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.