Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Admin pages to manage asp.net membership provider & Role management

Are there any open source projects that provide a front end to asp.net membership provider? Something like the one visual studio exposes through it configuration, but one that can be deployed on production.

Examples of some of the functionality I would like to see in the front end is

  • Add users
  • Delete users
  • Reset password
  • Change roles.
  • Add roles

Etc

like image 629
Quintin Par Avatar asked Feb 04 '10 14:02

Quintin Par


People also ask

How can I use ASP net membership provider?

The ASP.NET membership provider is a feature that enables ASP.NET developers to create Web sites that allow users to create unique user name and password combinations. With this facility, any user can establish an account with the site, and sign in for exclusive access to the site and its services.

How can we implement membership provider in ASP NET MVC?

Let's create a application for membership provider ASP.NET MVC. Step 1: Go to visual studio and click on new project -> a window will open from here select a 'ASP.NET MVC4 web application' and give the name for this project in my case I give it as “MVCMembershipProvider ".

What is SQL Membership Provider?

SQLMembershipProvider : It is used to store user information in a SQL Server database. ActiveDirectoryMembershipProvider : It is used to store user information in an Active Directory.


1 Answers

I found this MembershipStarterKit From TroyGoode on github:

What is the Asp.Net MVC Membership Starter Kit?

The starter kit currently consists of two things:

  1. A sample website containing the controllers, models, and views needed to administer users & roles.
  2. A library that provides testable interfaces for administering users & roles and concrete implementations of those interfaces that wrap the built-in Asp.Net Membership & Roles providers.

Out of the box, the starter kit gives you the following features:

  • List of Users
  • List of Roles User
  • Account Info
  • Change Email Address
  • Change a User's Roles

It looks like it's based on MVC 2, and I'm not sure it works on anything else. You do have the code though, so it shouldn't be hard to re-use this in MVC 3 or Web Forms.

Update

In the mean time, I forked the project and updated everything to MVC 3 razor. I also packaged the views up into a Portable Area (mvcContrib).

You can find the fork here:

https://github.com/fretje/MembershipStarterKit

like image 100
fretje Avatar answered Sep 28 '22 07:09

fretje