Finally finished writing a MembershipProvider

I mentioned awhile ago that I was planning to write an ASP.NET MembershipProvider for POP Forums. I finally got around to it the last day or two and finished it, along with a RoleProvider. Dare I say that it was really pretty easy, there are just a lot of methods to implement. What a great feature this will be for people that want to integrate Membership into their existing apps.

A couple of the methods required paged data, which gave me an excuse to use the ExecutePagedReader() method of SqlCommand. I haven't tested it yet, but wow does that save you a boatload of work. I hope it performs well.

3 Comments

  • Hi Jeff,



    Have in mind that the paging methods maybe will be removed from ADO.Net 2.0, because of customer feedbacks. MS uses cursors to handle the paging and that will affect performance.



    "The implementation of paging was based on cursors, and both internal and external customer feedback indicated that it was not going to deliver the performance and scalability that our customers require. So we decided to remove the feature from the next release. We’ll continue working on the issue, and assuming that priorities don’t change, we probably come up with a better, integrated paging solution in a future release." - Pablo

  • Where did you see that?

  • The last section in my previous feedback was from Pablo Castro, Program Manager at the ADO.Net team, I ask him about it.

Comments have been disabled for this content.