Last post Sep 21, 2016 03:16 PM by dupin
Sep 20, 2016 02:53 PM|dupin|LINK
I want to create a protected section (Admin folder) by Login form (using Membership)
into my website (external domain provider).
I would use SQL Compact edition, so I replace Access, but I can not complete the project.
I followed the links you find on google, like:
and many others.
Since this morning I try, really frustrating.
With SampleAccessProvider it worked so well. Configuring roles and more, all easily.
Does anyone know suggest the best way to complete the project?
Google link I have thousands.
I would like someone who did it and who can explain to me where I'm wrong.
In this way I may be able to complete.
thanks a lot for the support
-- update---> I use VS2015 & C#
Sep 21, 2016 06:57 AM|Chris Zhao|LINK
Take a look at Creating the Membership Schema in SQL Server.
This tutorial starts by examining techniques for adding the necessary schema to the database in order to use the SqlMembershipProvider.
Step 1: Deciding Where to Place the User Store
Step 2: Adding the SqlMembershipProvider Schema to the Database
Step 3: A Look at the Schema's Core Tables
Step 4: Specifying the Provider and Customizing Its Settings
Sep 21, 2016 08:32 AM|dupin|LINK
I would use SQL
Compact edition. I do not see
information on this.
Sep 21, 2016 03:16 PM|dupin|LINK
maybe I understood.
In VS2015 I modified the version of the framework from 4.5 to 4.0 and it works now.
I put the classes in App_Data, I modified the web.config, run it and it works.