2

In ADO.net application we have a website and windows service which are hitting same database. Since the connection string is common between them so are they sharing same connection pool.

0

1 Answer 1

7

No, basically. The pool is per-process. It might even be per app-domain, but since it uses an unmanaged driver underneath, I'm not 100% sure.

1
  • It's documented - at least for SQLClient - "Connections are pooled per process, per application domain, per connection string and when integrated security is used, per Windows identity." Jan 31, 2018 at 12:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.