Building Reusable Angular Services: Configuration Management

This course will teach you how to eliminate hard-coding in your Angular application by creating a configuration management service. You'll also learn how to store default values into a JSON file, local storage, and SQL Server.
Course info
Rating
(31)
Level
Intermediate
Updated
Dec 22, 2017
Duration
1h 32m
Table of contents
Description
Course info
Rating
(31)
Level
Intermediate
Updated
Dec 22, 2017
Duration
1h 32m
Description

Most programmers know you should not hard-code values in your application. In this course, Building Reusable Angular Services: Configuration Management, you will learn how to create a service to supply values to your application and avoid hard-coding. Next, you will learn to store default values in a JSON file, local storage, and in a SQL Server table. In addition, you will explore how to let the user set their own default values. Using the service built in this course will allow you to eliminate hard-coding in your application. At the end of this course, you will have a service you can use in your Angular applications to eliminate hard-coded values.

About the author
About the author

Paul loves teaching and technology, and has been teaching tech and business topics for over 30 years. Paul helps clients develop applications, and instructs them on the best use of technology.

More from the author
JavaScript Syntax and Operators
Beginner
1h 42m
Nov 12, 2019
ADO.NET Fundamentals in C#
Intermediate
2h 29m
Sep 5, 2019
VB.NET Fundamentals
Beginner
3h 26m
May 21, 2019
More courses by Paul D. Sheriff
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello, everyone! My name is Paul Sheriff and welcome to my course, Building Reusable Angular Services: Configuration Management. This course is another in my series on building reusable components for your Angular applications. I am a business solutions architect for Fairway Technologies, a premier provider of expert technology consulting and software development services. Every developer knows you should not hard-code values in your applications so where should you put these values? An Angular service to return a class with these default values is an ideal solution. In this course you build a class to hold default values and return those values from an Angular service. This service retrieves these values from a JSON file, from local storage, and from SQL Server via a Web API call. Throughout this course you will do the following: Create a configuration service class, provide defaults in an application settings class, read default values from a JSON file, allow the user to set their own default values by placing them into local storage, create a Web API using ASP. NET Core, create a table in SQL Server to store values to be returned via a Web API call. By the end of this course you will have created a system to help you eliminate hard-coded values within any Angular application you create. You can decide in each application where you want the default values to be stored. Before watching this course I am assuming you are familiar with Angular, JSON, the Web API, TypeScript, and HTML. I hope you'll join me on your mission to eliminate hard-coded values with my course entitled, Building Reusable Angular Services: Configuration Management at Pluralsight. com.