[2005] Membership class in vb.net
Ok, I know you can import system.web.security in asp.net applications, but i was looking for the dll in the .net and comm listings and it isn't there. Can you not use the Membership.createuser() etc in desktop apps?
If not, what is a good alternative for quality security and roles control?
Thanks,
Justin Fox
Re: [2005] Membership class in vb.net
We got this working by setting a ref to SYSTEM.WEB and importing SYSTEM.WEB.SECURITY.
We did .Configuration as well to manage access rules from the VB.Net.
Did you also do this?
Did you experience really slow results when validatin a user
Code:
If Membership.ValidateUser(UsernameTextBox.Text, PasswordTextBox.Text) = True Then
That line of code takes 11 seconds to step over. This is running a local SQL database on my laptop - no network involved.