What is connection pooling and what is the maximum pool size in ado.net connection string?
Answer / Subhiksha Jaiswal
Connection Pooling is a technique used to reuse database connections instead of creating new ones every time an application needs to access the database. This reduces the time required to establish a connection, improving performance. The maximum pool size can be configured using the 'Max Pool Size' parameter in the ADO.NET connection string.n```csharpnSqlConnectionStringBuilder cb = new SqlConnectionStringBuilder(); // Initialize Connection String Buildernc?.MaxPoolSize = 100; // Set Maximum Pool SizensqlConnection con = new SqlConnection(cb.ToString()); // Connect using the configured connection stringn```
| Is This Answer Correct ? | 0 Yes | 0 No |
What providers does ado.net uses internally ?
What are the ado.net connection pooling parameters?
What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?
What do you mean by performing asynchronous operation using command object?
How many commands does the oledbcommand takes?what are they?
Give few examples of datareader that is used in different dataproviders.
What provider ado.net use by default? Explain the role of data provider in ado.net?
What are two important objects of ADO.Net?
What is data reader in ado.net?
Define table relations?
I want to ask u that if i add radio button in ado.net form,and how radion button data insert in SQL2005 Database...
what are the two key events for the sql connection class? explain the differnce between the two.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)