Giter VIP home page Giter VIP logo

Comments (6)

MarkPieszak avatar MarkPieszak commented on May 27, 2024 2

Apologies for the delays everyone!
It seems that yes MS has unfortunately decided to give-up support for so many of the underlying tools/libraries we need for not only Angular here, but React/Vue/etc. (Namely spaservices/nodeservices/etc).
Very unfortunate that this all happened :(

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.

from aspnetcore-angular-universal.

alexbenitez avatar alexbenitez commented on May 27, 2024

@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?

aspnet/Announcements#379

from aspnetcore-angular-universal.

dresdor avatar dresdor commented on May 27, 2024

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).

from aspnetcore-angular-universal.

christopherpross avatar christopherpross commented on May 27, 2024

Any updates on this, because I am also interested on this.

from aspnetcore-angular-universal.

weedkiller avatar weedkiller commented on May 27, 2024

ASP .NET core 5 or (6 universal)

from aspnetcore-angular-universal.

omikolaj avatar omikolaj commented on May 27, 2024

@MarkPieszak

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.

https://stackoverflow.com/questions/14206531/mobilesafari-wont-send-back-cookies-set-with-cors/57343584?noredirect=1#comment123144033_57343584

from aspnetcore-angular-universal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.