Tag Archives: membershipprovider

Tips & Tricks: Accessing MembershipProvider from Silverlight

As you might noticed in the previous post, i’m working on a implementation of a custom¬†MembershipProvider.

Well here is another useful link that shows how you can easily expose the AuthenticationService for your Silverlight application as a WCF Service:

Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight

I will probably have some other posts coming up about using the MembershipProvider in Silverlight and ASP.Net, so keep an eye out.

Tips & Tricks: Debug custom MembershipProvider

Problems with debugging your custom MembershipProvider when trying to access it through the¬†“ASP.Net Web Application Administration” website?

Here is how to do it:

In VS2010, goto “Debug”->”Attach to process” and select WebDev.WebServer40.exe from the list, click “Attach”. Now your debugger is attached to the ASP.NET WAA website. Be patient, the loading of the necessary debug symbols can take some time while accessing the webpage.

Also make sure that you do a clean rebuild if your membershipprovider is part of a different assembly so the ASP.NET WAA website is using the latest version of your build.