So i need to import some members from csv to umbraco. And more or less everything seems to work, but ... when the number of members in the csv get higher then 200 or so, it starts to be really slow/Request timed out.
I mean it is quite simple , read line, add line, and there is all it is :)
MemberType memberType= MemberType.GetByAlias("Standard");
@* MembershipUser member = Membership.CreateUser(username, password, email);
tried to used this one since other is called obsolete, but could not managed to make it work in same way as this older one *@
Member member = umbraco.cms.businesslogic.member.Member.MakeNew(name, username, email, memberType, new umbraco.BusinessLogic.User(0));
member.Password = password;
member.AddGroup("Standard");
member.SetProperty("number",fields[0]);
member.Save();
So my questions are : if i change it to new way would it increase performance so much as it needed ? if so can anyone help with doing same thing but in new way ?
Is there a way to insert them directly to database via sql , but then can someone provide me with list of tables and relationships between them ?
c# is there any way that i not though about to increase performance here ? :)
Umbraco performance - member importer
Hi,
So i need to import some members from csv to umbraco. And more or less everything seems to work, but ... when the number of members in the csv get higher then 200 or so, it starts to be really slow/Request timed out.
I mean it is quite simple , read line, add line, and there is all it is :)
So my questions are : if i change it to new way would it increase performance so much as it needed ? if so can anyone help with doing same thing but in new way ?
Is there a way to insert them directly to database via sql , but then can someone provide me with list of tables and relationships between them ?
c# is there any way that i not though about to increase performance here ? :)
Thank you. Have a nice day.
is working on a reply...