.NET Framework Developer Center > .NET Development Forums > Windows Presentation Foundation (WPF) > How do you Authenticating ASP.NET Membership provider using WPF
Ask a questionAsk a question
 

AnswerHow do you Authenticating ASP.NET Membership provider using WPF

  • Friday, November 06, 2009 11:32 PMEhioze Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Has Code
    Hello guys,

    1. How do you Authenticating ASP.NET Membership provider using WPF.
    2. What namespace is used.

    I have created my connection string and put it in the application settings. In asp.net webforms i use

    Membership.ValidateUser(userName.Text, password.Text)


    and in my web.config file, i add the membership provider and also import the following namespace.

    using System.Web.Security;


    Am using C# in WPF
    Thanks
    Ehi

Answers

All Replies