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.
What you'll learn
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.
Table of contents
- Module Introduction 2m
- Modules in This Course 1m
- Configuration Management Architecture 2m
- Create Settings and Service Classes 4m
- Create the Product Class 1m
- Create the Product Page 2m
- Create the Product Detail Component 4m
- Update App Component and Run the Sample 2m
- Refactor Classes for Efficiency 1m
- Module Summary 1m
- Module Introduction 1m
- Create an AppSettings Table 2m
- Create ASP.NET Core Web API Project 3m
- Add the Entity Framework to the Project 1m
- Create Entity Framework Entity Class 2m
- Create Database Context Class 3m
- Build Get() Controller Method 5m
- Convert Camel Case to Pascal Case 2m
- Add CORS to the Web API Project 3m
- Call Web API from Angular Application 4m
- Module and Course Summary 1m