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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:53:58+00:00 2026-06-15T04:53:58+00:00

I have set up ASP.NET MVC 4 with System.Web.Providers, and now I would like

  • 0

I have set up ASP.NET MVC 4 with System.Web.Providers, and now I would like to add some more user information, like address, birthdate, etc.

I would also like to relate the existing user data from Providers to post, such that each post has an author from the Providers.

I must be such that when a user creates a post, everything about the user must be (lazily) available from selecting that post.

I was maybe thinking about having a User class containing the UserProfile class from the standard MVC template project (which seems to be used with the HTTP login), and the aspnet_users from the providers, but I am not really sure how to go about this.

What is the common way of doing this?

  • 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-06-15T04:54:00+00:00Added an answer on June 15, 2026 at 4:54 am

    I would suggest to go with Providers. These are available in ASP.NET for a very long time, and still used. Their implementation is the same for both (WebForms and MVC) so I would suggest to read this comprehensive tutorial about them

    • https://web.archive.org/web/20210513220018/http://aspnet.4guysfromrolla.com/articles/120705-1.aspx by Scott Mitchell

    The Profile feature is exactly the place for user specific information. It can be extended easily and represents the extension point to Membership. We are using our one Profile class:

    public class ProjectProfile : ProfileBase 
    {
        // TODO custom properties 
    }
    

    configured in web.config

    <profile defaultProvider="ProjectProfile" 
             inherits="MyLibrary.ProjectProfile, MyLibrary">
      <providers >
      <clear/>
      <add name="ProjectProfile" type="MyLibrary.ProjectProfileProvider, MyLibrary" />
      </providers>
    </profile>
    

    So, the System.Web.HttpContext.Current.Profile as ProjectProfile has the information needed.

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

Sidebar

Related Questions

I'm new to ASP.net MVC. I have set customErrors to on in my web.config,
I'm using ASP.NET MVC RC2. I have a set of classes that were auto-generated
We have an ASP.net 2.0 web application which is using themes set on the
I have put together a simple ASP.NET MVC 3 test web app that uses
I have autofac set up to do dependency injection of my asp.net MVC controllers,
I am using Simple Modal with asp.net MVC. I have set it up using
I have set up my website to use ASP.NET Membership. it all works fine
I have set in my mastersite of my asp.net application the following that the
I have an ASP.NET website set up, and I'm using Google Analytics for page
I have an ASP.NET page with a listbox whose selection mode is set to

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.