How do I: use ASP.NET authentication provider by a Windows forms application
-
ASP.NET Service Application
Shimi
-
ASP.NET Service Application
Shimi
Shimi Weitzhandler wrote:
ASP.NET Service Application
What? Do you mean how can you use the membership and roles providers in a winforms application? If so, you need to add a reference to the system.web entries for the membership and roles providers into your app.config file. You also need to add a reference to System.Web in your application.
Deja View - the feeling that you've seen this post before.
-
Shimi Weitzhandler wrote:
ASP.NET Service Application
What? Do you mean how can you use the membership and roles providers in a winforms application? If so, you need to add a reference to the system.web entries for the membership and roles providers into your app.config file. You also need to add a reference to System.Web in your application.
Deja View - the feeling that you've seen this post before.
I understand. what is the major class to implement a win-forms membership login form e.g. a methods to authenticate users, as well as an event that is raised when the user is due to whatever reason unauthorized (or if the member lost connection with the provider so I can let the user perform some unique tasks and savethem to dabase only if he authorizes within x hours etc.) thanks! :laugh: ;) :-D
Shimi