Basic Authentication with SQL Membership Provider
Download Source Code

We will show you how to set up WCF Basic Authentication using the SQL Membership Provider provided by Microsoft.

It is highly recommended that you walk through the explanations by looking at the source code as it will help you gain a more solid understanding. You can also run the application on your computer.

We will assume you already know how to setup WCF to run in https, since basic authentication without https would be meaningless because the user name and password would be passed as plain texts in the network.