1

We have an old asp.net(web.forms) membership database(aspnet.users,membership,roles,etc..) how can I integrate this with new mvc application.

I checked this answer but this uses a completely new database, and according to this post , it's gonna be a pain. I'm wondering whether this solution would work. I will of course hook up our custom user identity. I just need the core or main steps to do this.

Thanks..

I have to use that

Community
  • 1
  • 1
CyberNinja
  • 872
  • 9
  • 25
  • If you have the stored procs that go with the tables, it's not like you can't just call those instead of using the built in tools that were found in the older versions of .net. – Chris Jan 18 '17 at 21:02
  • unfortunately they are using the built in asp.net tools for authentication..it is just extended for other membership properties – CyberNinja Jan 23 '17 at 14:22
  • What I was saying is that with the stored procs which come with the membrership database you have the same capability as the you would with the build in tools. Additionally, if you're moving them into something new, you probably won't be bringing in those asp.net webform controls, you'll be wanting to use something different. – Chris Jan 23 '17 at 19:37

1 Answers1

0

Take a look at the answer to this question. It demonstrates how to implement IUserStore, IUserPasswordStore, IUserEmailStore and IPasswordHasher to consume an exising ASP.NET Membership database in ASP.NET Identity.

Raymond Saltrelli
  • 4,071
  • 2
  • 33
  • 52