有没有人成功地将 Yet Another Forum 1.9.x 与现有的 asp.net 站点集成?
我想使用与我当前网站相同的会员提供程序(开箱即用的 aspnet sqlmembership 提供程序)将 Yet Another Forum (yafnet) 集成到我的 asp.net 网站中。有人这样做过吗?值得这么麻烦吗? Yafnet 上的文档有点稀疏 http://wiki.yetanotherforum.net/AspNetMembershipIntegration.ashx所以我想知道我是否错过了什么?
I'd like to integrate Yet Another Forum (yafnet) into my asp.net website using the same membership provider as my current website - an out-of-the-box aspnet sqlmembership provider. Has anyone done this? And is it worth the trouble? The documentation on Yafnet is a bit sparse http://wiki.yetanotherforum.net/AspNetMembershipIntegration.ashx so I'm wondering if I'm missing something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不久前看过它并决定不这样做。与大多数免费 ASP.NET 产品一样,
MembershipProvider
模型已经搞砸了。如果不在自己的表中创建用户,并且可能对身份验证 cookie 执行一些奇怪的操作,则不可能(或曾经)使用不同的提供程序。他们也没有使用
RoleProvider
或ProfileProvider
,因此整个事情与他们自己的架构紧密耦合。与其他应用程序根本无法互操作。我想如果您打算按原样使用,那么如果您愿意拥有数据的两个副本,则可以与另一个应用程序集成。对于所有负面影响,我不知道有哪个廉价的 ASP.NET 论坛解决方案有任何好处。这可能还不是最糟糕的。
I had a look at it a while ago and decided against. The
MembershipProvider
model is screwed up, as with most free ASP.NET products.It is (or was) impossible to get to use a different provider without it creating users in it's own tables, and possibly doing something odd with auth cookies. They also hadn't used
RoleProvider
orProfileProvider
so the whole thing is tightly coupled to their own schema. Not interoperable at all with other applications.I guess it's fine if you intend to use as is, and you can kind of integrate with another app if your happy to have two copies of the data. For everything negative, I don't know of a single inexpensive ASP.NET forums solution that is any good. This probably isn't the worst.