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

后端 未结 6 1812
猫巷女王i
猫巷女王i 2021-01-31 19:59

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 c

6条回答
  •  感情败类
    2021-01-31 20:42

    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

提交回复
热议问题