ASP.NET - How to display data quickly from API

Asked By s j on 27-Sep-12 07:28 AM
I have a hyperlink in my page , when the user clicks on that link ,it fetches the data from API and displays the same in my page. It is talking too much time for fetching and displaying the data.
How can i improve the performance of this?
Danasegarane Arunachalam replied to s j on 27-Sep-12 08:06 AM
Then you need to check the API part. The API may be taking more time than the normal. Check the API part and make sure it returns the value as soon as possible.
Jitendra Faye replied to s j on 01-Oct-12 01:58 AM
As you told that you are using data from API, so it depends on API processing how much time it is taking to get data but while reading records try to fetch required data only instead of complete data.

And after getting record bind your control in this block-

if(!IsPostBack)
  {
   Bind data here
   }