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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T17:48:09+00:00 2026-06-16T17:48:09+00:00

I am trying to convert my vb.net 2010 web forms application into a C#

  • 0

I am trying to convert my vb.net 2010 web forms application into a C# MVC 4 application. Since my membership is already setup, I would prefer to just continue using the membership provider instead of the simplemembershipprovider.
Hi,

I am using PluralSight to learn MVC, but have not been able to find any reference on how to convert membership code to mvc.

I have a custom table that is linked by UserID to the mememberships User table. This custom table, asp_customUser, stores additional information about the user.

In the account controller, there is a register action, with the view and model. The register process does not handle roles, much less my custom data.

What I would like to know is, how do I add roles and custom user information to the database, when part of the fields in the registration view come from the membership library and the other part go to my custom table.

Thanks

  • 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-16T17:48:09+00:00Added an answer on June 16, 2026 at 5:48 pm

    Yes, you can use the old membership. Just copy and paste your membership provider from the old web.config to the new one.

    If this is running on a different computer, you may need to set the machine key, however, in order for it to be able to correctly validate the password hashes.

    You would then remove the Simple membership initialization attribute from the Account controller, and you would need to remove all the other simple membership code. You would also be giving up the OpenId authentication, because normal membership does not work with WebSecurity, so you would have to remove all that as well.

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

Sidebar

Related Questions

Ive been trying to convert my asp.net website into a web application following the
I am trying to convert an ASP.NET website into a web application project. The
I'm trying to convert an ASP.NET web application to use resource files. I haven't
I am new to ASP.NET and am trying to convert a web application from
I'm trying to convert a asp.net website to asp.net web application. I need to
I'm trying to convert an ASP.Net web service to WCF application. The client is
Solved using this post: Can you convert an ASP.NET MVC Application to a Web
I'm trying to convert an older ASP.NET application to MVC (I am just learning
I'm trying to convert celsius to fahrenheit with C# ASP.net web forms in visual
I'm trying to convert some VB.net code into C# and having issues trying 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.