用于管理 ASP.NET 会员提供商和应用程序的管理页面角色管理
是否有任何开源项目为asp.net 会员提供商?像 one Visual Studio 这样的东西通过它的配置公开,但可以部署在生产中。
我希望在前端看到的一些功能示例是
- 添加用户
- 删除用户
- 重置密码
- 更改角色。
- 添加角色
等
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
我从 MembershipStarterKit noreferrer">TroyGoode 在 github 上:
它看起来像是基于 MVC 2,我不确定它是否适用于其他任何东西。不过您确实有代码,因此在 MVC 3 或 Web 窗体中重用它应该不难。
更新
同时,我分叉了该项目并将所有内容更新为 MVC 3 razor。我还将视图打包到可移植区域 (mvcContrib) 中。
你可以在这里找到叉子:
I found this MembershipStarterKit From TroyGoode on github:
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:
Peter Kellner 有一个旧文章 列出了如何执行此操作,并包含 源代码。
Peter Kellner has an older article that lays out how to do this, complete with source code.
是的,我一直在致力于清理和修复内置管理工具。您可以独立运行它。
http://spikes.codeplex.com/releases/view/40655
WebAdmin 很简单内置的 ASP.NetWebAdministrationFiles 应用程序通过代码隐藏进行了清理,使自定义和重构成为可能。
这是更全面的 ASP.NET Web 管理应用程序的先驱,它将解决许多配置问题
过去 5 年出现了 3 个 .net 版本。
用法:
通过指定 applicationPhysicalPath 和 applicationUrl(虚拟路径)(如果相关)将 WebAdmin 指向站点
例如
default.aspx?applicationPhysicalPath=C:\Projects\WebAdmin\WebApplication1\&applicationUrl=/
运行此应用程序的标识最好具有提升的权限。因此,使用 webdev 服务器或 cassini 启动它是有意义的。
如果您计划将其放置在 IIS 中,请注意使用模拟并相应地配置 vdir。
已知问题:
尚未找到所有可能出现“无效回发”异常的情况。
这是由于写入内置 Web 管理文件后某个时间关闭的安全漏洞尚未更新而导致的。
当您找到一个时,转到该页面并将其放入页面指令中:EnableEventValidation="false" 并将其发布到 http ://spikes.codeplex.com 问题选项卡。
Yeah, I have been working on cleaning up and fixing the built-in admin tool. You can run it standalone.
http://spikes.codeplex.com/releases/view/40655
WebAdmin is simply the built in ASP.NetWebAdministrationFiles application cleaned up with codebehinds to make customization and refactoring possible.
This is a precursor to a more comprehensive asp.net web administration application that will fold in a lot of the configuration concerns that
have come about in the past 5 years and 3 .net versions.
Usage:
Point WebAdmin at a site by specifying applicationPhysicalPath and, if relevant, the applicationUrl (virtual path)
e.g.
default.aspx?applicationPhysicalPath=C:\Projects\WebAdmin\WebApplication1\&applicationUrl=/
It is best if the identity running this application has elevated permissions. Thus it makes sense to launch it with the webdev server or cassini.
If you plan to place it in IIS be aware that impersonation is used and configure the vdir accordingly.
Known Issues:
Have yet to track down all the possible cases of the "Invalid postback" exception.
It is caused by a security hole closed sometime after the built in web admin files were written and have not been updated.
When you find one, go to that page and place this in the page directive: EnableEventValidation="false" and post it on the http://spikes.codeplex.com Issues tabe.
还有这篇文章 4guysfromrolla< /a>
下载链接:源代码< /a>
There's also this article on 4guysfromrolla
Download link: source code
找到这里有一个用于 asp.net mvc,但是收费 30 欧元
Found one here for asp.net mvc, but charged at Euro 30
添加到列表 SecurityGuard。
http://www.mvccentral .net/Story/Details/tools/kahanu/securityguard-nuget-package-for-asp-net-membership
Add to the list SecurityGuard.
http://www.mvccentral.net/Story/Details/tools/kahanu/securityguard-nuget-package-for-asp-net-membership