-
Notifications
You must be signed in to change notification settings - Fork 529
Getting Started
To get the bits, you can
- Install it from Nuget
- Download last release from the build server
- fork it from GitHub
- take a pre-built version from the TeamCity build farm
The later Microsoft OS security model implements a "blocking" feature on .zip files downloaded from the internet. If you download a zip file from the Ninject site unblock it **before **you unzip it. You can do this by right clicking on the .zip file and selecting Properties. In the resulting dialog box near the bottom you will find an "Unblock" button you can click. Failing to unblock has delayed consequences. When using the .dll with XAML files, if the .XAML file tries to resolve a Ninject dependency a "Type universe cannot resolve assembly: Ninject" exception can be thrown and you will see only the exception dialog in your XAML preview pane instead of your beautiful interface. You can see more details about this exception and the workaround.
Continue reading: Dependency Injection By Hand
Licensed under Apache 2 License
Contents
- Home
- Why Use Ninject
- Getting Started
- Dependency Injection By Hand
- Dependency Injection With Ninject
- Injection Patterns
- Multi Injection
- Object Scopes
- Modules and the Kernel
- Providers, Factory Methods and the Activation Context
- The Activation Process
- How Injection Works
- Contextual Binding
- Conventions-Based Binding