How to get .Net Core 2.2 with Angular 6/7 SSR/Prerendering running
Hello,
I have been trying to create a web application with .Net Core 2.2 and Angular SSR for some time now.
I do not want to use this Template from Github (https://github.com/TrilonIO/aspnetcore-angular-universal, where also ssr is currently disabled?!) and the default template from microsoft works not either.
I tried a lot, like
- setting BuildServerSideRenderer to true,
- adding angularclibuilder to startup.js
- setting up angular on my own through angular-cli and ng g universal, installing aspnet-prerender, etc.
- updating the template via ng update
- using the clientapp folder from the ASP.NET Core prev3 Angular 7 Template,
- and a lot more.
Either i'am an idiot, this stuff does not work anymore, or i'am so confused about that many posts i have found on google, where every post uses a different version of angular, asp.net core, ....
So if someone had a good guide, I would be very grateful to him.
0 comments:
Post a Comment