Skip to main content

Services and Dependency Injection

  • Chapter
  • First Online:
Blazor Revealed
  • 925 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Peter Himschoot

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics