Search code examples
mobileasp.net-mvc-4simplemembership

SimpleMembershipProvider in mobile app ASP.NET MVC 4


I'm trying to use SimpleMembershipProvider to manage the authentication process of my mobile application.

I generated the project using Mobile template, but this doesn't generated the same files of the Internet application template. It doesn't created the folder Filters with InitializeSimpleMembershipAttribute.cs file and the web.config, AccountController and AccountModel are different.

Can I use SimpleMembershipProvider with mobile applications? If yes, how should I do this? If not, what is the alternative?


Solution

  • You can use the SimpleMembershipProvider in your mobile application. This article provides complete instructions on how to do this and provide links to an example VS project that can be downloaded.