Parallel library task for Active Directory query (using DirectoryServices)

I remove about 400 objects from Active Directory and then cache them for an hour. The speed varies depending on the traffic or which domain controller I hit, but even so, it's still a little slow, too slow for my liking.

I was wondering if DirectoryServices is a reasonable candidate for a parallel library or if for some reason this is a bad idea. Did anybody have

Does anyone have any experience?

Thanks in advance.

+3
source share
1 answer

As far as I understand, a parallel library will not change anything.

First of all, make sure your DNS is configured correctly.

400 , , Directory ( ).

( LDAP) System.DirectoryServices.Protocols(S.DS.P).

+2

All Articles