Can you still create a SPA app inside an asp.net website? Or is that obsolete?
I've inherited some oldish Angular projects and was looking at upgrade options, and what the latest Visual Studio Angular template is like.
It seems everything now is a Web API backend, and a separate Angular project for frontend?
My projects have the Angular app as a folder inside the asp.net project, and when you hit debug or publish, both the asp.net and angular launch/publish together.
I'm happy to abandon that old style of project if it's no longer recommended, i'm just struggling to find info about it
Thanks
5 Replies
Either way works
The benefit of hosting the API and the frontend app separately, is that your server is no longer concerned with serving the frontend
So there's no egress fees or anything
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
thanks, did a little more digging and found this upgrade path: https://github.com/dotnet/aspnetcore/issues/44600
but definitely seems the way to go is with separate projects
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View