Sunday, August 15, 2010

SQL Compact ASP.NET Membership provider

Project Description
Implementation of a ASP.NET Membership provider for SQL Server Compact 4.0, for use with Forms Authentication for web sites using only SQL Server Compact 4.0. This project provides files that contain a Membership provider, a Role provider for ASP.NET and a SQL Compact database.
How to use the provided files
1. Change SqlCeMembershipProvider::encryptionKey to a random hexadecimal value of your choice.
2. Copy the three files in the /App_Code folder to your web sites' ~/App_Code folder.
3. Copy the /App_Data/SqlCeAspnetdb.sdf database file to to your web sites' ~/App_Data folder.
Read more: Codeplex