.Net Connector, Connection Pool Help
I have implemented Asp.net web application and Using SAP .net Connector 2.0 i could pull the data from SAP and displying in browser.Iam using single connection string to
connect to SAP System.
This is working fine. We are planning to move the application to production then the number of user will increase.
In this case do i need to use Connection pool with more user (Connection String)? If i want to implement connection pool how to do it in .Net application.
we are pulling data from one SAP R/3 System,in this case can i use only one connection.if multiple user is accessing my asp.net application how this sap connection will work.
1. How to create connection Pool.
2. How to get the connection from the pool.
Kindly help me out in this regard.
Thanks in Advance.
public SAP.Connector.Connection conEstablishConnection(string strConnection)
conReturn = null;
conReturn = SAP.Connector.SAPConnectionPool.GetConnectionFromPool(strConnection);
public void conReturnConnection(SAP.Connector.Connection con2Return)
con2Return = null;
Establish connection function will provide a connection from pool
conReturnConnection will add to the pool. I hope this will help you in ur work