会员资格、角色和个人资料库

发布于 2024-12-17 23:10:24 字数 464 浏览 0 评论 0原文

我已经阅读了很多有关 ASP.NET 中的会员提供者、角色和个人资料的内容,但我找不到我想要的内容。我想知道是否有人可以向我指出一个完整的项目 - 或博客文章,否则将逐步扩展 - 扩展会员提供商将数据库中的配置文件存储为额外的表。

到目前为止,我检查了默认会员提供商存储配置文件的方式,大多数人都表达了其担忧,主要与该解决方案的性能有关。

因此,我想使用 aspnet_regsql.exe 生成的成员资格来使用 ASP.NET 中的 SQL Server 提供程序,并使用数据库表中的配置文件进行扩展(例如用户或客户)及其所有详细信息:名称、公司、地址等。 任何添加,

如已合并的密码检索、用户管理等,将不胜感激。

最后,如果这不可用......任何人都可以解释为什么微软团队从未开发出管理网站安全的完整解决方案(用户、角色、密码检索、帐户的电子邮件确认、以所有人都可以使用的方式存储的配置文件)不要谈论性能等等)...

非常感谢。

I´ve been reading a lot about membership providers, roles and profiles in asp.net but I cannot find what I´m looking for. I would like to know if anyone can point me a complete project - or blog post with step by step otherwise - that extends membership provider storing profiles in database as an extra table.

As far I checked default membership provider stores profiles in a way that most of the people express its concerns, mainly regarding to performance of that solution.

Consequently I would like to use membership generated by aspnet_regsql.exe to use SQL Server providers in ASP.NET with an extension using profiles in a database table -like user or customer -with all its details: name, company, address, etc...

Any addition like password retrieval already incorporated, user management etc. will be greatly appreciated.

Finally, if this is not available... could anyone shed some light of why MS team never developed a full solution for managing website security (users, roles, password retrieval, email confirmation of account, profiles stored in a way that all the people dont talk about performance and more)...

thank you so much.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

滿滿的愛 2024-12-24 23:10:24

您可以实现自己的配置文件提供程序并接管对数据存储方式的控制。如果您搜索“自定义配置文件提供商”,谷歌上会弹出几篇文章。
这是一个足够好的开始:

http://msdn.microsoft.com /en-us/magazine/cc163457.aspx

就您有关性能等的问题而言。您的ApplicationServices是一个可以选择的框架。你不必使用它。在我的选择中,您无法构建与 AppServices 具有相同复杂性的通用机制,并且该机制在每个设置中都表现出色。每个应用程序不同,运行环境不同,要求不同。 Asp.Net 为您提供了大量可以使用的工具和示例实现。你将用它做什么取决于你。您是架构师,您有责任设计应用程序结构,使其按照您需要的方式执行。

You can implement your own Profile provider and take over control of how your data is stored. There are several articles popping up on google if you search for "custom profile provider".
This is one is good enough for a start :

http://msdn.microsoft.com/en-us/magazine/cc163457.aspx

In terms of your question about performance etc. You ApplicationServices is a framework that is an option. You don't have to use that. In my option there is no way that you can build a generic mechanism of equal complexity to the AppServices that would be performing great in every setup. Each application is different, operating environment is different, requirements are different. Asp.Net gives you bunch of tools you can utilize and sample implementation. What you will do with it is up to you. You're the architect and it's your resposibility to design the application scructure so it performs the way you need it to.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文