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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:49:50+00:00 2026-05-11T21:49:50+00:00

i am new to asp.net mvc so please be explicit as possible. Here is

  • 0

i am new to asp.net mvc so please be explicit as possible.

Here is my goal:

i want to create a simple website where users can:

  1. Register and log in
  2. Enter there contact details(phone, address, etc)
  3. View there contact details
  4. Edit details of #3.

Later in the website, i will create other pages that use this data but for now the only items above are needed.

my questions is that i have been reviewing the default asp.net mvc sample that comes when you create a new asp.net mvc app.

I am trying to figure out if i should store all the contact details in the aspnetdb.mdf database in an existing table or i should be creating new tables.

it seems like i could extend aspnet_Users or aspnet_membership.

please let me know if these tables can be extended to store additional fields or if its safer to just create a new table in this database.

  • 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-11T21:49:50+00:00Added an answer on May 11, 2026 at 9:49 pm

    You could use an Asp.net profile provider to store the information. Follow the link for instructions on using the built-in SqlProfileProvider. By default, the SqlProfileProvider will create tables in the aspnetdb.mdf file, so you can keep everything in one place. You can access the profile provider as a property on the HttpContext.

    Edit: Better link for ASP.Net profile information

    Using the Profile provider, you don’t have to worry about making database calls or identifying the current user. It’s all done on your behalf. Double-check the documentation, because the following might be a little off.

    You add the fields that you want in your web.config inside <system.web>. In your case, it would be the necessary contact information.

    <profile>
      <properties>
        <add name="Address" />
        <add name="City" />
        <add name="State" />
        <plus other fields ... />
      </properties>
    </profile>
    

    Then, you can access HttpContext.Profile.Address and so forth and the provider will take care of tying everything to the current user.

    Adding and editing the information means displaying a form. Viewing the details is just displaying all the fields you saved from the previous form post.

    The NerdDinner source and tutorial are well worth checking out if you’re completely new to MVC.

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

Sidebar

Related Questions

I am currently in the process of making a new ASP.net MVC website, and
I've been learning asp.net mvc 3. So, basically I'm trying to create a new
My new ASP.NET MVC Web Application works on my development workstation, but does not
I have a new ASP.NET MVC project (my first), and I had been running
I've been learning the new ASP.NET MVC framwork lately and I've developed a test
I'd like to have some of the ScriptManager features in the new Asp.net MVC
How does the new Microsoft asp.net mvc implementation handle partitioning your application - for
I'm new to ASP.NET MVC so this may be a stupid question. I have
I'm fairly new to ASP.NET MVC, and I'm having a little trouble with scripts...
I'm really new to ASP.Net Mvc, but not new to Asp.Net. I was aware

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.