Hacker News new | ask | show | jobs
by hypercluster 3267 days ago
I've been wondering the same thing. One good thing about the SPA approach is that the backend is not coupled with the frontend. With Razor you directly interact with your model and put logic in the view. If you just have an API backend (Web API in this case) the frontend can do whatever it wants, so pure frontend designers can just go ahead with what they know, mock the API and write tests without the need for the backend etc.