Skip to content

@wroud/di Guides

Welcome to the @wroud/di library guides! Here you'll find comprehensive documentation and tutorials to help you get started with our dependency injection (DI) library.

Getting Started

  • Introduction: Learn about the key features and benefits of using @wroud/di in your projects.
  • Installation: Step-by-step guide to installing @wroud/di in your environment.
  • Why DI?: Understand the benefits of DI and when to use it, with practical examples.

Core Concepts

  • Service Container: Understand how to register and resolve services using the ServiceContainerBuilder and IServiceProvider.
  • Service Lifetimes: Learn about different service lifetimes (singleton, transient, scoped) and how to use them effectively.
  • Dependency Injection: Dive into the principles of dependency injection and how @wroud/di implements them.

Advanced Features

Scaling Your Application

  • Introduction: Introduction to scaling your application using @wroud/di and the ModuleRegistry.
  • Integration: Step-by-step guide to integrating the ModuleRegistry into your existing application for better scalability.

API Reference

  • API Documentation: Detailed reference for all classes, methods, and functions provided by @wroud/di.

Released under the MIT License.