Architecting a Decoupled Data Access Layer in VB.NET with ADO.NET
Learn how to build a secure, decoupled Data Access Layer in VB.NET using ADO.NET, focusing on the Repository pattern, parameterized queries, and connection management.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to build a secure, decoupled Data Access Layer in VB.NET using ADO.NET, focusing on the Repository pattern, parameterized queries, and connection management.
The goal is to identify why a connection pool intermittently runs out of available connections in an ADO.NET‑based application hosted on Glitch, while using a specific pooling feature such as Max Pool Size. The application exhibits sporadic time‑outs and exceptions despite seemingly normal traffic, making it unclear whether the exhaustion stems from unreturn
Integration Boundary VB.NET applications using System.Transactions.TransactionScope or explicit DbTransaction objects rely on ADO.NET's common abstraction layer to coordinate work across SQL Server, PostgreSQL, and Oracle. The abstraction promises a single Rollback() call that undoes all enlisted operations, but the underlying providers diverge sharply when
ADO.NET utilizes connection pooling to minimize the overhead of establishing physical database connections. By default, the pool manages connections based on the exact connection string provided, and the Max Pool Size attribute defines the upper limit of physical connections allowed per pool. When an application reaches this limit and all connections are cur