Base solution for your next web application
Open Closed

Aspnet Core + Angular 6: Slow loading and slow api-calls #7255


User avatar
0
larsfk created

Hi!

We are experiancing a lot of slow loading in our Angular 6 application. Is there anyone else that has this problem, and is there any good solutions for this?

Thanks!

Lars


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @larsfk

    Could you give us more information about your situation ?

    • Are you having this slowness on your local PC or on a deployed server ?
  • User Avatar
    0
    larsfk created

    It uses almost 30 seconds to load a frontend page which calls the api to get some informasjon from the DB.

    Sometimes it can take up to 2 minutes before a response comes back. Seems like signalR also is really slow from time to time.

  • User Avatar
    0
    larsfk created

    Im having slowness on both local and deployed server.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @larsfk

    Sorry for my late response. What is the full url of GetAll request ?

  • User Avatar
    0
    larsfk created

    Hi! I managed to rewrite GetAll to not do 3 sql joins, and use linq instead. So now its much faster :)

    Thanks!