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.

  • Overview
  • Transcript
  • View Offline
Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 41m
Duration
16,034
Views
Show More Show Less
Skills covered in this course
Development Tools Developer AngularJS 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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now