Is it possible to use the membership provider in a winform application?
If so do you have any examples?
Membership Provider
Microsoft didn't implement explicitly the membership provider support for a WinForms application. However, you may create web service with membership functionality based on our provider and use it by your WinForms application. As an alternative, please refer to http://weblogs.asp.net/hosamkamel/archi ... ation.aspx .
Thanks for the reply.
I had found the blog entry and had attempted to implement it.
However, I get an "invalid connectionstring" exception when attempting to validate a previously created user.
I copied the "system.web" and "connectionstring" settings in the app.config file directly from a test web site which implemented the membership provider. When debugging, I also notice that the settings provided within the "system.web" config do not appear to have been picked up. i.e. minRequiredPasswordLength set to 3 but not shown on properties.
Any ideas? If not, I will go through the web service route. I would prefer the direct approach if possible.
Thanks
I had found the blog entry and had attempted to implement it.
However, I get an "invalid connectionstring" exception when attempting to validate a previously created user.
I copied the "system.web" and "connectionstring" settings in the app.config file directly from a test web site which implemented the membership provider. When debugging, I also notice that the settings provided within the "system.web" config do not appear to have been picked up. i.e. minRequiredPasswordLength set to 3 but not shown on properties.
Any ideas? If not, I will go through the web service route. I would prefer the direct approach if possible.
Thanks