Angular 2 Server Rendering
Why Stack Overflow recommends it
Stack Overflow users link it when explaining Angular Universal, server-side rendering and preboot, and as a starting reference for Angular 2 with ASP.NET Core.
Recommended by 3 people across 2 different months, 2016 to 2017.
What it is
A conference talk from Angular U in San Francisco (2015) by Jeff Whelpley and Patrick Stapleton on rendering Angular 2 apps on the server. It covers why Angular 2 was designed to run outside the browser and demonstrates server-side rendering, the idea behind what became Angular Universal and preboot.
What people said
Recommends jabacchetta · 2016-07 · Stack Overflow · on “WordPress-driven, single-page app with universal JavaScript”
After building a few single-page applications with React, I'll try to answer this for anyone else who might land here in the future. Universal/Isomorphic JavaScript If you're not already familiar with this buzzword (made mainstream by articles on Airbnb [LINK] and Medium [LINK] ), it essentially refers to the ability to render JavaScript on both the server side and client side. Pitfalls of JavaScript MVC Frameworks Single-page applications have become tremendously popular, primarily for their ability to provide a more fluid user experience — similar to desktop and mobile apps (e.g. no page reloads). However, first-generation frameworks (such as Angular and Backbone) had one major drawback: t
Recommends glemiere · 2016-09 · Stack Overflow · on “Minimalist Angular2 Set Up”
Let me present you the best angular2 seed [LINK] I actually know. That seed is particular because it's not a classical angular2 project, but an isomorphic seed for angular2 based on a technology called angular universal [LINK] . It also has a compression system that makes your project faster, thank to webpack [LINK] . Here is a schema that shows you the concept of an isomorphic app . [LINK] The concept is pretty easy : Isomorphic from the Greek "isos" for "equal" and "morph" for "shape". Isomorphism describes that if you look at the same entity in two different contexts, you should get the same thing. Here the contexts are server and client. Although the term has been mostly used in mathemat
Recommends Gabriel · 2016-09 · Stack Overflow · on “React preboot, recording server side events”
Saying before your client side application is rendered is a little bit confusing because the application is primarily rendered server-side. There is a delay between the moment the HTML being displayed and the moment your javascript application be bootstrapped client side. This is always true as long as the javascript is loaded in separated files and required time to the browser to be executed. You refer to the angular/preboot [LINK] repo which allows us to record all the client events fired before the Javascript application being bootstrapped, and replay them after. Everything is explained in this video [this video] . [LINK] angular/preboot [LINK] works with any front end JavaScript framework (i.
Cites Exec21 · 2017-07 · Stack Overflow · on “Angular 2+ and asp.net core server rendering”
I need some guidance on rendering server with angular 2+ and .net core, I have been doing some investigation about it and found some helpful information: Angular universal is the project for this matter: Angular 2 Server Rendering [this video] I found a great example on how to apply angular universal and .net core on this repo: MarkPieszak repository [LINK] . Please have a look to the controller and the way is implemented. On the other hand I found another way to render in the server side using MVC views as per posted by MVP Damien: Blog: USING ANGULAR IN AN ASP.NET CORE VIEW WITH WEBPACK [LINK] Repo: damienbod/AspNetCoreMvcAngular [LINK] Both are using webpack and .net core. I just want to ask w