Hi,
In one of my application i am using System.DirectoryServices to get
some data from Sun One Directories.
I am using Asp.net & C# 2.0
I am worried about the performance. I have following doubts.
1. Which will be better
a. adding DirectoryEntry Object to session.
b. Createing new object everytime.
2. Which kind of pooling do I need to use (connection pooling / object
pooling)
Is there any way to pool the directoryentry object.
Thanks in advance,
Hemant
Jon Meyer - 20 Nov 2007 19:45 GMT
Hemant,
You can read about connection pooling here.
http://blogs.dirteam.com/blogs/tomek/. The article is titled:
System.DirectoryServices and connection pooling
Note that if this is going to be a heavily utilized website that S.DS
doesn't scale well. You should probably look to move to S.DS.Protocols. It
is a bit more work but you can control the connection pooling where as S.DS
does the pooling under the hood.
-Jon
> Hi,
> In one of my application i am using System.DirectoryServices to get
[quoted text clipped - 15 lines]
>
> Hemant