How can i solve waiting for server response taking lot of time

Viewed 70

I'm using asp.net core : 2.1 version,

Lets say i'm calling an API and when i call it takes 17 or 18 seconds to hit the controller.So my question is this problem causing from server side or from my API. Ill share the image and my controller code. After it hit the controller the process goes fast there is no wastes of time in service. I'm new to asp.net core and i'm confused what is causing this issue. If there is any probable solution provide me. [![Image][1]][1]

1 Answers

It is probably because of ExecuteFunctions method , but there is no info about that method.

If you use Deserializing or Serializing methods in it, I have encountered a problem like this. It was because of Deserializing the object which comes from my Database..

And this was my solution : Link

if you don't use Serializing or Deserializing methods, share more details...

Related