Devexpress Wpf Dependency Injection

Adds dependency injection (Microsoft.Extensions.DependencyInjection, optionally the .NET Generic Host) to an existing DevExpress WPF application and moves its view models and services onto the container — composition root, registrations and lifetimes, {dxmvvm:Ioc} in XAML, IocServiceProvider, DialogService/WindowService views, child UserControls, POCO view models. Use when the user asks to add DI or an IoC container, register services, get rid of singletons or a service locator, inject services into view models, or wire DevExpress MVVM to a ServiceCollection or Host — even if they only say "no DI in this project" or "set up DI for DevExpress".

DevExpress Updated 68 repo stars

File contents

devexpress/agent-skills commit 6c32dc11e7

Frequently asked questions

npx get-skill add devexpress/devexpress-wpf-dependency-injection