Chapter 2. ASP.NET Controllers and Server-Side Routes
Now that we have our skeleton up and running, it's time to explore the client-server interaction capabilities of our frameworks. To put it in other words, we need to understand how Angular 2 will be able to fetch data from ASP.NET Core using its brand new Core Web API structure. We won't be worrying about how will ASP.NET Core retrieve these data, be it from session objects, data stores, DBMS, or any possible data source. All of that will come later on. For now, we'll just put together some sample static data in order to understand how to pass them back and forth by using a well-structured, highly configurable, and viable interface.
Data flow
As you might already know, a Native Web App following ...
Get ASP.NET Core: Cloud-ready, Enterprise Web Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.