Question

Okay so what I'm trying to do is create a desktop application in Visual C# that allows the user to log in using the same credentials as the ones with which they used to sign up to my MVC website. ASP.Net MVC creates an account controller which handles all the security and password hashing, and I basically want to be able to have the application check the password they enter in the desktop app against the one they created online.

The problem is there is no SimpleMembership for windows desktop apps so I have no idea how to handle the login and password encryption/decryption from the desktop app.

Once again, user creates username and password online, they must then be able to sign in with those credentials in a desktop app, checked against the same database.

Can anyone show me a way of doing this?

Was it helpful?

Solution

You can use Client Application Services to utilize existing ASP.NET membership provider as long as it implements Forms Authentication. For the detailed walkthrough please see this article. You can also read through this article.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top