加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

管理页面来管理asp.net会员提供商和角色管理

发布时间:2020-12-16 00:38:50 所属栏目:asp.Net 来源:网络整理
导读:有没有开源项目提供 asp.net membership provider的前端?像一个视觉工作室那样暴露了它的配置,但是可以部署在生产中。 我想在前端看到的一些功能的例子是 添加用户 删除用户 重置密码 更改角色。 添加角色 等等 解决方法 我发现这个 MembershipStarterKit
有没有开源项目提供 asp.net membership provider的前端?像一个视觉工作室那样暴露了它的配置,但是可以部署在生产中。

我想在前端看到的一些功能的例子是

>添加用户
>删除用户
>重置密码
>更改角色。
>添加角色

等等

解决方法

我发现这个 MembershipStarterKit从 TroyGoode在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

它看起来像是基于MVC 2,我不知道它在任何其他的工作。你确实有代码,所以在MVC 3或Web窗体中不应该很难重用。

更新

同时,我分叉了这个项目,并将所有内容更新到MVC 3剃须刀上。我也将视图打包成一个便携式区域(mvcContrib)。

你可以在这里找到叉子:

07002

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读