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

Angular Server Side Rendering issues (SSR) #7185


User avatar
0
enerjisauretim created

Hello there,

We tried the SSR feature of angular universal library with this aspnetzero template. I wasted a whole day fixing issues with the template. Some of them were events (like LazyLoadEvent, MouseEvent), the other were related to HandsonTable. It seems, both aspnetzero and Handsontable does not support SSR feature?

If it does, could you please explain the issue since we did not change the default modules within the template, it should have been easily done via npm run build:ssr && npm run serve:ssr command.

Link: https://tudip.com/blog-post/angular-server-side-rendering/


2 Answer(s)
  • User Avatar
    0
    enerjisauretim created

    We needed this solution just because of a reverse proxy need actually. Our front-end deployment is open to the public internet, however, backend deployment is not. So, end users' browser cannot contact backend server via ajax requests.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @enerjisauretim

    You are right, AspNet Zero doesn't support SSR out of the box for Angular 8.