ASP.NET SqlMembership 提供程序可扩展性

发布于 2024-07-26 13:07:57 字数 170 浏览 4 评论 0原文

我即将开展一个项目,该项目将涉及 70,000 多名用户(教育)。 我想知道 ASP.NET SqlMembership Provider 是否已用于如此大的容量? 假设硬件已经有了,是否需要做一些特殊的事情才能使其顺利工作? 我们正在做所有显而易见的事情,例如将数据库和应用程序分开,但是有什么代码方面我需要注意的吗?

I've got an upcoming project that is going to be dealing with 70,000+ users (education). I was wondering if the ASP.NET SqlMembership Provider has been used at such large capacities? Assuming the hardware is there, is there anything special that needs to be done to make it work smoothly? We're doing all the obvious things like separating boxes for databases and applications, but is there anything code wise that I need to watch out for?

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

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

发布评论

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

评论(2

最美的太阳 2024-08-02 13:07:57

我知道一个网站,该网站的所有者写了一篇关于 ASP.NET 性能的精彩文章( http://www.codeproject.com/KB/aspnet/10ASPNetPerformance.aspx

在这篇文章中,有一个主题,作者描述了一个有关配置文件提供程序的补丁,以提高性能。 请阅读该部分。

I know one site that, owner of this site wrote a brilliant article about asp.net performance(http://www.codeproject.com/KB/aspnet/10ASPNetPerformance.aspx)

On this article there is one subject that author describes a patch about profile provider for higher performance. Please read that section.

雨落星ぅ辰 2024-08-02 13:07:57

内置的 SqlMembershipProvider 非常可靠且可行。 它们与 FormsAuthentication 和登录控件紧密集成。 因此身份验证是可靠的并且实施起来也很快。

我看到的唯一问题是数据库表结构的复杂性,它们非常整洁,一开始并不那么直接。 因此,您基本上可以编写自己的 MembershipProvider,它将通过更简单的设计和实现与您自己的用户表进行对话。 此外,由于表设计的原因,在 admin 上管理成员也很痛苦,但在某种程度上,这样做是相当可能的。 由于这些原因,我们基于 Sql 编写了自己的 MembershipProvider。 它的效果非常好,我们也有过很好的经验。

如果您有一个小型网站或项目
你可以直接继续使用内置的
SqlMembershipProvider 但对于大型
我推荐像你这样的项目
编写您自己的 MembershipProvider。

Inbuilt SqlMembershipProvider is very reliable and workable. They tightly integrate with FormsAuthentication and Login Controls. So authentication is reliable and it is also quick to implement.

Only problem I see is the complexity of the Database table structure, they are quite tidy and not so straight at first. So you can basically write your own MembershipProvider that will talk to your own users table with more simplistic design and implementation. Also Managing Members on admin is also painful due to table design but in a way it is fairly possible to do so. For these reasons we wrote our own MembershipProvider based on Sql. It's working amazingly and we've had good experience of the same.

If you have a small website or project
you can straight go on with inbuilt
SqlMembershipProvider but for a large
project like yours I'd recommend
writing your own MembershipProvider.

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