Connection Pooling

This may be a question more suited for an ADO.NET category but someone out there has got to know.

We have an application which currently uses MTS and COM+ to facilitate connection pooling amoung our client applications.  We want to move away from COM and more towards .NET development and we are looking at re-writing the back end (Data Access End) as a .NET Web Service (or a collection of webservices).

If we use one web service and place all our web methods in the service we should be taking advantage of ADO.NET connection pooling.  Right?  How about if we have multiple services?  Whatt about multiple services wrapped inside the same project so that they are in the same assembly?

I guess it would realy depend on where the pooling was taking place, at the SQL server level, or at the application level.  For example, if I have ApplicationA that access a database with the same user name and password as ApplicationB, are the connections pooled even though they are comming from different applications?

Thanks for any insight into connection pooling and web services,
Eric
LVL 7
RealMrTeaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

_kiwi_Commented:
Hi Eric,

Connection pooling in ADO.Net is made to allow you to, even if you want, develop, say one method by web service, and still use the power of connection pooling.

Pooling is available at the application Level, not just at the class or requesdt level.

If you have two web services in a single application, they will automatically share the same pool if they use the same connection string.

Just think about closing your SqlConnection objects just after using them.

Check : http://www.15seconds.com/issue/040830.htm for more info.

Cheers,
Julien
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RealMrTeaAuthor Commented:
Whoops...Sorry for the delay.  This project kind of got put on the back burrner and I wanted to see if any one else had any ideas.

My thanks and appologies kiwi,
Eric
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.