I have a web application and I have a feature of "Browse User Pictures". I have 1700 users. Now I am using Active Directory query to do that like:
DirectorySearcher ldapSearcher = new DirectorySearcher(lrootDSE, strRetrieve);
ldapSearcher.PageSize = 20;
ldapSearcher.SizeLimit = 1700;
But it loads all the information on the go and that slows my application. Can someone let me know a way where I can show user 30 entries per page and fetch only 30 records from Active Directory at a time.