Skip to content
| Marketplace
Sign in
Visual Studio>Tools>DpdtVisualStudioExtension
DpdtVisualStudioExtension

DpdtVisualStudioExtension

Preview

lsoft

|
44 installs
| (0) | Free
Dpdt Extension for Visual Studio 2019 helps you to be more productive when using Dpdt Injector.
Download

Dpdt logo

Dpdt is a compile-time general purpose DI container based on C# Source Generators. Its goal is to remove everything possible from runtime and make resolving process as faster as we can. This is achieved by transferring huge piece of resolving logic to the compilation stage into the source generator.

As an additional concept, Dpdt adds no references to your distribution, so if you are developing a library/nuget package, you are free to use Dpdt as DI container. You will not impose your DI to your users, everything will builtin in your dlls.

Dpdt Extension for Visual Studio 2019 helps you to be more productive when using Dpdt Injector.

Design features

  1. As mentioned above, Dpdt suitable for lib/nuget developers.
  2. This Dpdt Visual Studio Extension helps you to be more productive.
  3. Additional compile-time checks (see below).
  4. No performance decrease on the platforms with no compilation at runtime (because of absense runtime compilation!).

Other features

  1. Easy-to-read syntax Bind<IA>().To<A>().WithTransientScope().
  2. Custom constructor arguments ... Configure(new ConstructorArgument("message", Message)).
  3. Generic Get<T> and non generic Get(Type t) resolutions.
  4. Constrained GetFast fast resolutions.
  5. Single object Get or collection GetAll resolutions.
  6. Func<T> resolutions.
  7. ToIsolatedFactory bindings with automatic factory code generation.
  8. ToProxy binding with automatic generate an interceptor class.
  9. Transient, singleton and constant scopes.
  10. Custom scopes.
  11. Child kernels (aka child clusters).
  12. Bindings by conventions.
  13. Binding settings which modifies compile-time code generation.
  14. At last, Dpdt produces a very, very fast resolution code (it's the last due to it's really unimportant; every modern DI fast enough for virtually all use cases).

Dpdt Visual Studio Extension

If you click on a project in Solution Explorer and there is no Dpdt nuget installed, you can install its latest version easily:

Dpdt Extension Image 4

Also, you can create a new cluster class or add a new binding method to the existing cluster:

Dpdt Extension Image 5

There is a tool window to look, search and go to any binding in your solution:

Dpdt Extension Image 6

Also, Dpdt Visual Studio extension help you to create/manage/delete your Dpdt bindings.

The following images makes the picture brighter:

Dpdt Extension Image 0

Dpdt Extension Image 1

Dpdt Extension Image 2

Settings window:

Dpdt Extension Image 3

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft