December 2021
Intermediate to advanced
657 pages
11h 11m
English
Dependency inversion is one of the basic principles of good object-oriented design. The big enabler is dependency injection . In this chapter, we will discuss dependency inversion and injection and why it is a fundamental part of Blazor. We will illustrate this by building a Service that encapsulates where the data gets retrieved and stored.
Currently, our Blazor PizzaPlace app retrieves its data from hard-coded sample data. But in a real-life situation, this data will probably be stored ...
Read now
Unlock full access