Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Console App (Full Framework)

Kevin Bost edited this page Dec 21, 2018 · 2 revisions

This is an example using AutoDI to supplement a console app that uses the full .NET Framework.

  1. Create an empty console project
  2. Add a NuGet reference to AutoDI.Build this will also add the AutoDI package.
  3. Build your application. AutoDI will handle the mapping and registration of all of your services and classes, and inject them into the container when the application starts.

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /