YAFLogo

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer Topic Starter
13 years ago
In /YAF.Classes.Data/DB.cs
used namespaces:

using System.Web;
using System.Web.Security;

I guess, the stuff can be safely moved to
YAF.Classes.Config

The methods return strings

HttpContext.Current.Server.MapPath
Membership.GetUser
FormsAuthentication.HashPasswordForStoringInConfigFile
Sponsor

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer Topic Starter
13 years ago
There is a problem which can't be solved without code changes.
When you are getting user list in
\YetAnotherForum.NET\pages\members.ascx.cs
you get all the values instead of page size - page index, it's a major performance problem in other data layers when you have 10k users. I solved it somehow in MySQL with about 3-5 seconds sql exec time by cost of 3 in-sp extra functions calls, but in other data layers it gives pure performance too. I'm almost sure, that limiting number of returned records (and possible ViewState termination) will be good for all DLs as a result, despite some code complications.
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
13 years ago
Agreed. You are welcome to make the changes, bbobb 😉
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer Topic Starter
13 years ago
Jaben wrote:

Agreed. You are welcome to make the changes, bbobb ;)


OK.:wink: I hope, that sorting is not a must have feature.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
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