I'm somehow new and would like someone to help me understand how Angular 2 communicates with .net Core when building a web application.
I just read the Adam Freeman Pro MVC Core book, where he builds a sports store using an entity structure and generating razor views to display all the information. Now I'm trying to learn Angular 2 in order to better learn the interface, and it seems that everything that I learned using MVC Core Razor is now a waste of time. What is the common use of these technologies together? If I build a SPA using Angular 2, can I access the database using the web api created from the .net kernel? Is this common use? Or is there a way to create a .net application using an entity using regular controllers that generate Angular views, and not everything in the visual studio? I think they will not be cshtml files? Please help me figure this out.
Finally, I am using .net code with Angular, should I use visual studio instead if I want to use .net on the back? Thank.
user6193811
source
share