-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asp.net core 3.1 #741
Comments
@MarkPieszak is this starter now obsolete? Any kind of road map to support SSR integrated with .NET Core? Should we just plan on replacing the server side C# with NodeJS? |
I was able to update an app that orginated with this template without much issue. The only real problem I found was getting the hot module replacement code working, which we were unable to do (and did not have the time to resolve it). |
Any updates on this, because I am also interested on this. |
Apologies for the delays everyone! Ideally the best way to go forward really is to use the Angular CLI and utilize Universal that way which means using Node.js etc. At least this way a separately spun up server can handle all of the front-end and SSR, while potentially a separate Dotnet project could be the backend REST API only. |
ASP .NET core 5 or (6 universal) |
Thank you for clarifying. I have finally found what I have been looking for. This whole time I thought that there was a way to achieve SSR for SPA (Angular, React, Vue etc) but the more I searched the more it appeared that it was not the case. Thus I kept thinking to myself that perhaps I would need to remove the angular app from .NET 6 server and have some other place host it such as a separate server running node handling front end bootstrap request and SSR. The drawback to that approach is that users on iOS by default have the option checked "Prevent Cross-Site Tracking" so if your any cookies you want to pass back and fourth between your front end on a different URL and your back-end on a different URL, will not work by default. |
@MarkPieszak Making this project to work with core 3.1 show warnings about obsolete spaservices and nodeservices, what seems to break this kind of solutions at future .net 5. I'm starting a new project and would like ssr from .net core (running node or whatever solution), but is seem that it will be officially deprecated (dotnet/aspnetcore#12890), so this great project ,this kind of ssr integration, will not be keep working if update. could you please help me to see or point me to how aspnet core angular ssr integration should be in a future (maybe no way)...
The text was updated successfully, but these errors were encountered: