We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to Log last Active Database Connection in ASP.NET Core

Thread ID:

Created:

Updated:

Platform:

Replies:

129502 Mar 22,2017 08:17 AM Mar 23,2017 07:38 AM ASP.NET Core 1
loading
Tags: Autocomplete
Shivali
Asked On March 22, 2017 08:17 AM

Hi, I am new to ASP.NET core and building an application. we got a requirement where we need to log the last active database connection and use it next time to reduce the likelihood of one connection attempt timing out. Please let me know how can I do this with logging the active database connection.

Please let me know if there are some configuration changes can be done to achieve the required output without using log database connection.


Arun Palaniyandi [Syncfusion]
Replied On March 23, 2017 07:38 AM

Hi Shivali, 
 
Thanks for Contacting Syncfusion support. 
 
 
Right now, we have created our Autocomplete control with the simple Entity framework data model datasource connection. We could get the data from Entity datasource and give that data to the Autocomplete.   
 
Please find the sample for your reference below: 
 
 
We also would like you to share us more information on the control used and database connection you are trying to work with. Also, share error details if any, so that this would helpful to analyze further and provide an appropriate solution.   
 
Regards, 
Arun P. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;