-
Notifications
You must be signed in to change notification settings - Fork 79
Conversation
Once done please also share pre release download link. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If SSR is broken it probably would be fixed when the commits mentioned in this issue are released angular/angular-cli#8616
For our own future reference, here are the steps we went through when upgrading this template. The same steps should be applicable to future Angular version upgrades. Upgrade steps
Install latest Angular CLI
Compare the old and new versions in your chosen Git tool
Try it out
Check out tests
Try publishing
|
@SteveSandersonMS Angular and CLI version 6.0.1 has been released which finally fixes long awaited Please release the new template with version 6.0.1 |
I followed the steps indicated by @SteveSandersonMS and using spa.UseProxyToSpaDevelopmentServer ("http: // localhost: 4200") it seems that Hot Module Replacement (HMR) does not work. Changes in html or ts have no effect.
No problems in the template by default |
@kichalla I think below files require update:
|
@SteveSandersonMS Thanks for the instructions. This works perfectly! |
@wesleygrimes I downloaded
|
Any idea when this will be pushed so we can use it? |
I have made new tests. If in the angular.json file change architect\build\options |
Has anyone had success with SSR while using this pull request? In my case I had an issue until I fixed a bug in https://github.com/aspnet/JavaScriptServices/blob/dev/src/Microsoft.AspNetCore.SpaServices.Extensions/Util/EventedStreamReader.cs I created an issue aspnet/JavaScriptServices#1619 with pull request aspnet/JavaScriptServices#1620 but the issue was closed without the PR being accepted. Not sure if it was closed by mistake thinking it was a duplicate issue in the wrong repo or if no one else is having this issue with SSR. Just wanted to double-check. Thanks. |
Is there a way to see a really working example of Angular-Cli 1 the best 6.0 that "really" works with net core. Not only in the development but also a version that you can actually publish on the IIS and then "really" straight away synonymous server side without that you have to search for days for any errors? |
@j-nord have you ever looked at https://github.com/MarkPieszak/aspnetcore-angular2-universal, it looks very tempting and is constantly updated. It looks like he's in the process of updating to ngCli but there may be some complications TrilonIO/aspnetcore-angular-universal#539 For the time being, I'd like to avoid direct webpack involvement if I can especially when it's hooked into server code, there are enough moving pieces with that setup that can go wrong. I really wish the aspnet team would prioritize high quality templates, 2.1 is feature complete enough (for me at least :). |
one thing i had forgot: It should also work with Angular lazy loading module without errors. @tomgruszowski: thanks for the link. We experimented so much and nothing really worked. The only target is to get his angular-cli running properly with asp.net core, otherwise you can also search all webpack errors. |
Closing this PR in favor of #581 |
No description provided.