angularjs call is taking much time to hit the webapi method

Posted by Kasani007 under AngularJS on 6/7/2016 | Points: 10 | Views : 240 | 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


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

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.


Sheo Narayan

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

Login to post response