runboy
  • Posts: 50
  • Joined: 13/03/2008
What are the advantages of using the YAF Membership provider versus just the standard ASP.NET provider?

Wanting to integrate with existing user base and trying to decide if I should convert existing users to YAF or just keep the standard provider.

and If there is no advantage, why is there a YAF membership provider in the first place?
Sponsor
Jaben
  • Posts: 2544
  • Joined: 09/10/2004
Primarily the YAF.NET membership providers give backwards compatibility to upgraded YAF.NET forums.

For most forums, this is not important. Otherwise, it supports YAF.NET specific features such as boards, better. Also, there are a couple optimizations which improve speed.

The ASP.NET providers work fine.
runboy
  • Posts: 50
  • Joined: 13/03/2008
Thanks Jaben
runboy
  • Posts: 50
  • Joined: 13/03/2008
If I tie the forum up to an existing user base, what is the best approach?

Install the forum with an empty membership database to avoid conflict with already present users and then copy users over afterwards or will the installation be able to handle the existing user base?

Anything that needs to be updated in the YAF tables? Will dbo.YAF_User automatically be populated when the user visits the forum for the first time?

Thanks!!
bbobb
  • Posts: 1558
  • Joined: 21/10/2008
Originally Posted by: runboy

Will dbo.YAF_User automatically be populated when the user visits the forum for the first time?


It's automatically populated from any Membership provider.

If you have a choice, always use Yaf providers. They're fast and related to each other at tables level and the data is cached too. They keep data in tables and you can easily control the data integrity.


runboy
  • Posts: 50
  • Joined: 13/03/2008
I am talking about having an existing membership db of 5000+ users who have never logged in to the forum before

I imagine YAF_User is normally populated at signup, but since this hasn't happened in my case, what happens when one of my users visit the forum while logged in? Will it create an entry in YAF_User or throw an error?
bbobb
  • Posts: 1558
  • Joined: 21/10/2008
Originally Posted by: runboy


I imagine YAF_User is normally populated at signup, but since this hasn't happened in my case, what happens when one of my users visit the forum while logged in? Will it create an entry in YAF_User or throw an error?


Your imaigination plays tricks on you :-d
They appear in the yaf_User after a first forum page visit in every case if you've made the rest OK.
runboy
  • Posts: 50
  • Joined: 13/03/2008
Thanks, so I guess no extra work is needed. I like it 🙂
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved