Thursday, 28 April 2016

Enable and Disable ADO.NET and OLEDB Connection Pooling In .Net

4/28/2016 - By Pranav Singh 0



 This article will show you how you can enable and disable the connection pooling in your asp.net application when you are using ADO.Net or OLEDB connection for your .net application.
So First we will see how we can enable and disable connection pooling in ADO.NET. Please check the connection string.


Data Source=localhost;Integrated security=SSPI;Initial Catalog=DBname;Pooling=true;


In above connection string please check he Pooling=true. So if pooling is true on that case pooling is enable, and if we make Pooling=false. On that case it will be disabled.
Now let’s check for OLEDB connection.


Provider=SQLOLEDB;OLE DB Services=-4;Data Source=localhost;Integrated Security=SSPI;


So in case of OLEDB if we want to disable the pooling we need to make the OLE DB Services=-4.
I hope this article will help you to understand how to enable and disable the connection pooling in your .net application connection string.

About the Author

We are the group of people who are expertise in different Microsoft technology like Asp.Net,MVC,C#.Net,VB.Net,Windows Application,WPF,jQuery,Javascript,HTML. This blog is designed to share the knowledge.

Get Updates

Subscribe to our e-mail newsletter to receive updates.

Share This Post

0 comments:

Please let me know your view

Free Ebooks


About Us

We are the group of people who are expertise in different Microsoft technology like Asp.Net,MVC,C#.Net,VB.Net,Windows Application,WPF,jQuery,Javascript,HTML. This blog is designed to share the knowledge.

Contact Us

For writing article in this website please send request by your

GMAIL ID: dotnetpools@gmail.com

Bugs and Suggestions

As we all know that this website is for sharing knowledge and providing proper solution. So while reading the article is you find any bug or if you have any suggestion please mail us at contact@aspdotnet-pools.com.

Partners


Global Classified : Connectseekers.com
© 2014 aspdotnet-pools.com Designed by Bloggertheme9.
back to top