© Adam Freeman 2019
A. FreemanEssential Angular for ASP.NET Core MVC 3https://doi.org/10.1007/978-1-4842-5284-0_5

5. Creating a Web Service

Adam Freeman1 
(1)
London, UK
 

In this chapter, I start the process of creating an HTTP web service that the Angular application can use to request data from ASP.NET Core MVC. This process is not as simple as it might be because of the way that different features interact, both in the MVC and Angular parts of the application, but the result is a solid foundation for accessing data that I build on in Chapter 6 to support a complete set of data operations.

My focus in this chapter is starting the web service and checking that each new addition works as expected. This means that I request and display data in the Angular ...

Get Essential Angular for ASP.NET Core MVC 3: A Practical Guide to Successfully Using Both in Your Projects 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.