Last post Oct 10, 2013 03:24 AM by venkimca
Oct 08, 2013 10:19 AM|venkimca|LINK
I wrote wcf service for LDAP connections. I need to download all LDAP users , For that i wrote one method. Initially i am facing issues with paging in LDAP( but i am using this link
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_24066935.html i got the solution).
But this time i am facing the issue with WCF Service. The service will expired with that time. I can't give more than 10 mints for that connecton in wcf service. So i want to try like Sure name stats with a,b,c,.. etc ,I am not sure this time also
may be i am getting same issue in some where when more records find for particular letter.
Can any one suggest better way to do this type of stuff in wcf services.
Oct 09, 2013 05:04 AM|smirnov|LINK
First you have to answer to yourself what is the purpose of downloading all users via a service and how you can avoid doing this. You were faced already with problems with paging but you still going in same direction. Services are not designed to transfer
large data, doesn't matter if this is ldap or sql server database
There are some settings you can look into
but generally speaking you need to consider a different way. I have no idea why you might need it but you can maybe instead of returning all users do a search-like return. E.g. you can return only if user entered department and location, of if user has entered
beginning of last name, etc. - anything which will reduce number of returned rows.
Oct 10, 2013 03:24 AM|venkimca|LINK
Thanks for your reply. we change this requirement from wcf service to console Application , There is no issue right now. The LDAP paging working fine for me what i menctioned in above url.