Click here to Skip to main content
15,886,780 members
Home / Discussions / C#
   

C#

 
Questionstoring images to folder in c# Pin
dhiraj3110-Feb-13 9:38
dhiraj3110-Feb-13 9:38 
AnswerMessage Closed Pin
10-Feb-13 9:58
professionalJibesh10-Feb-13 9:58 
GeneralRe: storing images to folder in c# Pin
Pete O'Hanlon10-Feb-13 10:07
mvePete O'Hanlon10-Feb-13 10:07 
QuestionHow to create a C# Application which can automatically install an Application or server ? Pin
Rahul Sarkar10-Feb-13 6:43
Rahul Sarkar10-Feb-13 6:43 
AnswerRe: How to create a C# Application which can automatically install an Application or server ? Pin
Rahul Sarkar10-Feb-13 6:58
Rahul Sarkar10-Feb-13 6:58 
AnswerRe: How to create a C# Application which can automatically install an Application or server ? Pin
Jegan Thiyagesan13-Feb-13 2:52
Jegan Thiyagesan13-Feb-13 2:52 
QuestionC# connection pooling Pin
classy_dog9-Feb-13 21:52
classy_dog9-Feb-13 21:52 
AnswerRe: C# connection pooling Pin
N a v a n e e t h10-Feb-13 3:19
N a v a n e e t h10-Feb-13 3:19 
classy_dog wrote:

1. when do you recommend connection pooling be setup?
You don't have to do anything special to setup connection pooling. It is enabled and handled by framework automatically. But to make use of it fully, you need to dispose the SqlConnection objects immediately after using it. Obvious way to do this is to wrap connection objects in a using statement so that Dispose() gets called automatically. This is very important for the connection pool to perform well. Disposed objects goes back to the pool. When you do new SqlConnection(), it serves from the pool if available.

classy_dog wrote:

2. Does it make a difference if this connection pooling is a web, desktop, console or some other C# application?
I don't think so. Connection pools lives in the "app domain". So for web applications, IIS manages this app domain and pools will be available throughout IIS lifecyle.

classy_dog wrote:

3. Can you point me to a reference and or some me some code how to setup the connection pooling?
As I said earlier, you don't have to do anything. Just manage the connection objects properly.
Best wishes,
Navaneeth

GeneralRe: C# connection pooling Pin
PIEBALDconsult10-Feb-13 4:51
mvePIEBALDconsult10-Feb-13 4:51 
GeneralRe: C# connection pooling Pin
jschell10-Feb-13 8:10
jschell10-Feb-13 8:10 
GeneralRe: C# connection pooling Pin
PIEBALDconsult10-Feb-13 17:02
mvePIEBALDconsult10-Feb-13 17:02 
AnswerRe: C# connection pooling Pin
jschell10-Feb-13 8:28
jschell10-Feb-13 8:28 
QuestionProtocol Handler C# Pin
thomas mason9-Feb-13 15:44
thomas mason9-Feb-13 15:44 
AnswerRe: Protocol Handler C# Pin
Jibesh9-Feb-13 18:59
professionalJibesh9-Feb-13 18:59 
AnswerRe: Protocol Handler C# Pin
N a v a n e e t h10-Feb-13 2:44
N a v a n e e t h10-Feb-13 2:44 
AnswerRe: Protocol Handler C# Pin
Eddy Vluggen10-Feb-13 6:08
professionalEddy Vluggen10-Feb-13 6:08 
GeneralRe: Protocol Handler C# Pin
thomas mason10-Feb-13 16:11
thomas mason10-Feb-13 16:11 
AnswerRe: Protocol Handler C# Pin
classy_dog10-Feb-13 16:51
classy_dog10-Feb-13 16:51 
AnswerRe: Protocol Handler C# Pin
José Amílcar Casimiro11-Feb-13 3:17
José Amílcar Casimiro11-Feb-13 3:17 
QuestionTableAdapter.Update() doen't work Pin
fheyn9-Feb-13 11:06
fheyn9-Feb-13 11:06 
AnswerRe: TableAdapter.Update() doen't work Pin
OriginalGriff9-Feb-13 11:53
mveOriginalGriff9-Feb-13 11:53 
AnswerRe: TableAdapter.Update() doen't work Pin
Muthuraja Irullandi10-Feb-13 0:09
Muthuraja Irullandi10-Feb-13 0:09 
Questionmultiplication Pin
abhishek9111199-Feb-13 7:35
abhishek9111199-Feb-13 7:35 
AnswerRe: multiplication Pin
Eddy Vluggen9-Feb-13 8:23
professionalEddy Vluggen9-Feb-13 8:23 
GeneralRe: multiplication Pin
PIEBALDconsult9-Feb-13 10:27
mvePIEBALDconsult9-Feb-13 10:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.