angularjs call is taking much time to hit the webapi method

Posted by Kasani007 under AngularJS 1x on 6/7/2016 | Points: 10 | Views : 1470 | Status : [Member] | Replies : 1
My AngularJS call is taking much time to hit the webapi method.

And SomeTimes it is not hitting and showing timedout alert.

how can i improve performance of angularjs to hit webapi method




Responses

Posted by: Sheonarayan on: 6/7/2016 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
I do not think that it is the problem with AngularJS, just check your Web API by directly copy-pasting the URL into browser address bar. It must be the Web API.

AngularJS internally simply initiate an AJAX call to the URL so there is nothing that is taking time from AngularJS side.

Hope this helps.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response