WHAT IS OBJECT POOLING
Answers were Sorted based on User's Feedback
Answer / giriraj
Object Pooling is something that tries to keep a pool of
objects in memory to be re-used later and hence it will
reduce the load of object creation to a great extent. This
article will try to explain this in detail. The example is
for an Employee object, but you can make it general by
using Object base class.
| Is This Answer Correct ? | 13 Yes | 1 No |
Object Pooling is a concept for optimal use of limited resources through software constructs. The ready-to-use objects, connections, and threads are stored in a pool (group) of objects in memory for later use. For creating a new object, it is pulled from the pool and allocated for the request. Pooling helps in improving performance and facilitates scalability.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are directives in asp.net? List down all the important directives.
Can we throw exception from catch Block?
Which is faster union or union all?
What is a viewbag?
Explain the components of web form in asp.net
while developing webservices if i want some users to use my webservice only how can i give security to my webservice?
What is http protocol and how it works?
What is sta?
Below is a code extract from an ASP.Net application. The code basically reads data from the “name” field in the “members” table and prints them onto the webpage. Using the assumptions provided, fill in the 4 blanks below so that the code will run correctly. ‘Assumptions: ‘conn_str is a variable that holds the connection string to the database ‘Objects dbcomm and dbread are already declared earlier dbcomm = New OleDbCommand("SELECT name FROM members", conn_str) dbread = dbcomm._______________ _____________________ response.write(_______________) _____________________ dbread.Close()
What are query strings used for?
How Session outproc in Sqlserver stored?
Explain the difference between panel and groupbox classes using .net?
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)