Skip navigation

Creating a movie service

Creating a movie service: Angular2 for .NET Developers
Creating a movie service: Angular2 for .NET Developers

Reynald demos the beginning of creating a service and shows how steps are similar to building our components. He creates a file for the movie service. He then creates the class and adds an Injectable decorator. Next is adding a getMovies service to return a list of movies. With this service, we're removing the component’s responsibility to manage the date and letting the role go to the service. This makes it more reusable.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 41m
Duration
153,582
Views
Show More Show Less
Skills covered in this course
Development Tools Developer Angular Visual Studio

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month