Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Problems when try to access solution angular + aspnetcore from cell phone #6914


User avatar
0
flavio created

Hi all, We're facing some problems when try to render the application in cell phones... Seems like several scripts are overwhelming the request... What should we do, in order to build 'HTML5 - angular' app tests environment ? We also know about xamarin solution, but we dont have time enough to create the proccess twice...

Thanks in advance,

Sergio.


2 Answer(s)
  • User Avatar
    0
    commondesk created

    We have found the same thing.. Enableing --aot and --prod flags on build will help but inital load is still slow.

    We are investigating two approaches, but dont have any answers yet.

    1. Create a non angular login dialog that has a hidden iframe where the angular compoment will load. This will allow user to see the login dialog faster, and while there typing in ther password or clicking on oauth, it will give the machien a change to load.

    2. Were looking at Angular server side rendering.

  • User Avatar
    0
    ismcagdas created
    Support Team

    @flavio

    This is probably because of the size of bundle files. You can try @commondesk's suggestion.