Backend with .NET Core

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 will be able to fetch data from .NET Core using its brand new MVC and web API all-in-one structure.

We won't be worrying about how will .NET Core retrieve this data, be it from session objects, data stores, DBMS, or any possible data source; we will come to that later on. For now, we'll just put together some sample, static data in order to understand how to pass them back and forth using a well-structured, highly-configurable, and viable interface, following the same approach used by the SampleDataController shipped with the Angular SPA Template that we chose in Chapter 1, Getting Ready.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.103.204