PC Review


Reply
Thread Tools Rate Thread

DirectoryEntry Pooling...

 
 
Hemant
Guest
Posts: n/a
 
      20th Nov 2007
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
 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      20th Nov 2007
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

"Hemant" <(E-Mail Removed)> wrote in message
news:f56b7457-a4e2-4735-a5d7-(E-Mail Removed)...
> 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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set ACE on FTP DirectoryEntry =?Utf-8?B?YyBiZW5lc2g=?= Microsoft Dot NET Framework 0 9th Oct 2006 07:43 PM
DirectoryEntry James Microsoft VB .NET 2 25th Nov 2005 06:49 AM
DirectoryEntry =?Utf-8?B?QWJkU29s?= Microsoft C# .NET 2 29th Mar 2005 04:21 PM
Using DirectoryEntry over SSL Mariam Sheikholeslam Microsoft Dot NET Framework 0 12th Jan 2004 09:42 PM
DirectoryEntry Potiguar Faga Catalan Microsoft C# .NET 1 31st Jul 2003 03:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:19 PM.