I am having trouble understanding the purpose of everything I am trying to do here. I have web api, mvc, and angular2 project linked by authentication provided by identityserver4
As in, why would I make a web api?
Does the user that connects to my MVC application communicate for information directly with the WEB API and not the MVC backend?
If so what is the purpose of the MVC backend if I am aiming for a SPA with angular2?
With Identityserver4 I've already connected the MVC and the WEB api and the users together. Does that mean from that moment on after login and 1st page load the majority of the calls for information comes from the web api not the MVC backend?
If you guys can clear up on what exactly the purpose of the MVC backend and the web api and how that relates to a SPA with identityserver integrated it would be helpful!
Thanks.