Abstract
Dependency inversion is one of the basic principles of good object-oriented design. The big enabler is dependency injection. In this chapter, you will look into dependency inversion and injection and why they are fundamental parts of Blazer. You will explore them by building a service that encapsulates where the data gets retrieved and stored.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Peter Himschoot
About this chapter
Cite this chapter
Himschoot, P. (2019). Services and Dependency Injection. In: Blazor Revealed. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4343-5_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-4343-5_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4342-8
Online ISBN: 978-1-4842-4343-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)