maui-dependency-injection

Community

Master DI in MAUI for scalable, testable apps

Authormkazimoto
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Dependency injection wiring for .NET MAUI projects, enabling centralized service configuration, testability, and scalable architectures.

Core Features & Use Cases

  • Service registration in MauiProgram.cs with proper lifetimes (Singleton, Transient, Scoped) and automatic resolution via Shell navigation.
  • Platform-specific registrations and an interface-first approach to facilitate testing and substitution.
  • Guidance for constructing resilient MAUI apps with DI best practices and common patterns.

Quick Start

Register services in MauiProgram by wiring builder.Services to concrete implementations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: maui-dependency-injection
Download link: https://github.com/mkazimoto/AppMAUICopilot/archive/main.zip#maui-dependency-injection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.