Angular 4 server side rendering in Asp.Net MVC 5 Framework (non Core)

I'm trying to set up a project in Asp.Net 4.5.2 (VS2017) with Angular 4.
All examples seem to use Asp.Net Core, but we're trying not to jump into .NET Core just yet, if possible.
We would like to have server side rendering though, samples seem to use this asp-prerender-module attribute from "Microsoft ASP.NET Core JavaScript Services".
Is it possible to render angular 4 server side with MVC 5?


Officially there is no Asp.Net Framework (non Core) support.
As stated in https://universal.angular.io/overview/:

In addition to node.js, however, Angular Universal has ASP.NET Core support. In the near future we hope to add support for Java, PHP and Python

EDIT : "Microsoft ASP.NET Core JavaScript Services" only supports ASP.NET Core which means the site needs to deployed ASP.NET Core style. But this all can run in .NET 4.5.2 so you can still reference your good old .NET Framework libraries in your project.

链接地址: http://www.djcxy.com/p/31318.html

上一篇: Angular 2+和asp.net核心服务器渲染

下一篇: Asp.Net MVC 5框架中的角度4服务器端渲染(非核心)