C
C#6mo ago
cow

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
Angius
Angius6mo ago
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
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
cow
cow6mo ago
but definitely seems the way to go is with separate projects
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View