I am somewhat of a beginner and would like someone to please help me understand how Angular 2 ties into .net Core when building a web application.
I just read Adam Freeman's Pro MVC Core book, where he build a sports store using entity framework and generating razor views to display all information. I am now trying to learn Angular 2 so I can learn the front end better, and it seems like all I learned using MVC Core Razor is now a waste. What is the common usage of these technologies together? If I build a SPA using Angular 2, could I access the database using a web api built from .net core? Is that the common usage? Or is there a way to build a .net core application using entity, using normal controllers that generate angular views instead all in visual studio? I guess they would not be cshtml files? Please help me understand this.
Lastly, I am using .net code with Angular, should I be using visual studio instead if I want to use .net on the back end? Thank you.