有人使用 ASP .NET 会员资格吗?

发布于 2024-07-09 00:40:00 字数 109 浏览 3 评论 0 原文

想知道是否有人使用 ASP .NET 会员资格? 如果你这样做,请告诉我你的想法。

如果您不使用它,您打算在未来的项目中使用它吗? 如果没有,为什么?

温迪

Was wandering if anyone uses ASP .NET membership? If you do, tell me what you think about it.

If you don't use it, Are you planning to use it on future projects? If not, why?

RWendi

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

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

发布评论

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

评论(4

我三岁 2024-07-16 00:40:00

是的。 已经用过很多次了,它会为你节省很多工作。

客户经常会要求更改用户名和管理密码重置等一些痛点,而您将不得不解决这些问题。

角色提供程序也非常方便,并且有许多预构建的控件可以使用它,尽管最近在角色管理器和 aspnet ajax 之间遇到了一个 PITA 错误。

即使您已经选择了一些适合您需求的不同提供商,该模型通常也非常好。

总的来说,它并不完美,但如果您可以忍受它并解决它的问题,它将为您节省大量代码。

在某些情况下,可能需要使用电锯,而黄油刀就可以,但它就在那里,它有效,而且还有很多其他人在使用它。

它的一种锤子,对于价格来说,还可以,但是没有金锤子。

Yes. Have used it quite a lot, and it will save you a lot of work.

There are some pain points like changing usernames, and administrative reset of passwords, that clients will often ask for, and you will have to hack your way around them.

The role provider is also pretty handy, and there are a lot of prebuilt controls that work with it, although recently hit a bug between role manager and aspnet ajax that has been a PITA.

The model is generally very good, even if you have shop around for some different providers that suit your needs.

Overall, it's not perfect, but if you can live with it and work around it's issues, it will save you heaps of code.

For some situations, it is maybe using a chainsaw when a butter knife would do, but it's there, it works, and there are plenty of other people using it.

Its one kind of hammer, for the price, is ok, but there is no golden hammer.

巨坚强 2024-07-16 00:40:00

我在我的大多数项目中都使用它。 有时它没有达到我想要的效果,但几乎总有办法解决这个问题。 我们已将其与 Active Directory、Novell EDirectory 和表单身份验证一起使用。

提供者模型非常适合创建这些解决方法。 比滚动您自己的会员代码要好得多。

表配置文件提供程序是一个很棒的工具SqlProfileProvider 的低效开箱即用实现。

还有另一种产品我听说过但从未尝试过,叫做Visual Guard。 我对任何人对此的任何评论都很感兴趣。

I use it in most of my projects. There have been times where it doesn't do what I want it to but there is almost always a way around that. We have used it with Active Directory, Novell EDirectory, and Forms Authentication.

The provider model is great for creating those work arounds. Much better then rolling your own membership code.

The Table Profile Provider is a great tool for getting around the ineffient out-of-the-box implementation of SqlProfileProvider.

There is another product that I have heard of but never tried, called Visual Guard. I would be intersted in any comments anyone has on that.

回忆追雨的时光 2024-07-16 00:40:00

我几乎在所有项目中都使用了它。 它将节省您大量的工作,它易于使用,并且 .NET 附带了许多预构建的控件,因此您不必担心编写自己的检索密码控件、登录控件等。

不要听那些人的胡言乱语。告诉你你无法收集你感兴趣的信息。这就是配置文件提供程序的用途(我同意布莱恩的观点,使用表配置文件提供程序可以实现更高效的实现,也更容易维护)。

I've used it on almost all of my projects. It will save you a ton of work, it's easy to use and .NET comes with a lot of prebuilt controls so you won't have to worry about writing your own retrieve password control, login control etc.

Don't listen to people who tell you that you can't collect the information you're interested in. That's what the profile-provider is for (I agree with Brian, use the Table Profile Provider for a more efficient implementation that is also easier to maintain).

葬心 2024-07-16 00:40:00

请注意,配置文件提供程序只能与网站模板一起使用:

http://www.codersbarn.com/post/2008/06/01/ASPNET-Web-Site-versus-Web-Application-Project.aspx

安东尼:-)

Note that the profile provider only works out of the box with the website template:

http://www.codersbarn.com/post/2008/06/01/ASPNET-Web-Site-versus-Web-Application-Project.aspx

Anthony :-)

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