Index
A
- ActionCommand
- about / WPF and Silverlight applications
- ActionFilterAttribute / Filter injection
- Action method
- about / Filter injection
- ActivationException exception / Constructor Injection
- AddShapes method / The Shape Factory example
- antipatterns / DI patterns and antipatterns
- ASP.NET MVC applications
- about / ASP.NET MVC applications
- validator injection / Validator injection
- filter injection / Filter injection
- ASP.NET Web Forms applications
- about / ASP.NET Web Forms applications
- assemblies, convention over configuration
- selecting / Selecting the assemblies
- attribute-based binding / Attribute-based binding
- Attribute class / Conditional filtering (When)
- AutoNotifyPropertyChangedInterceptor class / Type Interception
B
- BindAllInterfaces() / Selecting service types
- BindBase() / Selecting service types
- BindDefaultInterface() / Selecting service types
- BindDefaultInterfaces() / Selecting service types
- binding
- about / It's all about Binding
- binding, convention over configuration
- configuring / Configuring the Bindings
- Binding Generator
- defining / Defining Binding Generator
- Binding Resolver / Resolving metadata
- BindingSource control / Windows Forms applications
- BindSelection(ServiceSelector selector) / Selecting service types
- BindSingleInterface() / Selecting service types
- BindToFactory method / Defining Binding Generator
- BindToSelf() / Selecting service types
- BindUsingRegex(string pattern) / Selecting service types
- BindWith method / Defining Binding Generator
C
- CanDecode method / Implementing the plugin model
- Close method
- about / WPF and Silverlight applications
- CLR / Why use Ninject?
- components, convention over configuration
- selecting / Selecting the components
- selected components, filtering / Filtering the selected components
- inclusion and exclusion, explicit / Explicit inclusion and exclusion
- conditional filtering (When)
- about / Conditional filtering (When)
- WhenControllerType method / Conditional filtering (When)
- WhenControllerHas method / Conditional filtering (When)
- WhenActionMethodHas method / Conditional filtering (When)
- ConfigurationProvider / Custom providers
- ConsoleLogger class / My First DI Application, Singleton scope
- ConsoleLogger singleton / Singleton scope
- ConstraintAttribute class / Resolving metadata
- constructor injection
- about / Constructor Injection
- contextual arguments (With)
- about / Contextual arguments (With)
- WithConstructorArgumentFromActionAttribute method / Contextual arguments (With)
- WithConstructorArgumentFromControllerAttribute method / Contextual arguments (With)
- WithPropertyValueFromActionAttribute method / Contextual arguments (With)
- WithPropertyValueFromControllerAttribute method / Contextual arguments (With)
- contextual binding
- about / Contextual binding
- named binding / Named binding
- metadata resolution / Resolving metadata
- attribute-based binding / Attribute-based binding
- target-based conditions / Target-based conditions
- generic helper / Generic helper
- convention over configuration
- about / Convention over configuration
- assemblies, selecting / Selecting the assemblies
- components, selecting / Selecting the components
- service types, selecting / Selecting service types
- binding, configuring / Configuring the Bindings
- Copy to Output Directory property / How to use XML configuration
- Count() method / Member Interception
- CreateCustomerCommand command / Mocking Kernel
- CreateInstance method / Activation context
- CreateInterceptor method / Intercept Attribute
- CreateKernel method
- about / ASP.NET MVC applications, WCF applications
- Create method
- code / Windows Forms applications
- CreateSquare method / The Shape Factory example
- CreationCallback object / Extending Ninject
- CustomerForm
- code / Windows Forms applications
- CustomerService class
- implementing / WCF applications
- CustomerViewModel class
- about / WPF and Silverlight applications
- CustomerWindow method
- about / WPF and Silverlight applications
- custom scope, object lifetime / Custom scope
D
- DataContext property
- about / WPF and Silverlight applications
- Data Transfer Object (DTO) / Windows Forms applications
- DI
- about / What is Dependency Injection?
- or Inversion of Control (IoC) / DI or Inversion of Control (IoC)
- first application / My First DI Application
- containers / DI Containers
- DialogResult property
- about / WPF and Silverlight applications
- DI patterns
- about / DI patterns and antipatterns
- DoSomething method / Intercept Attribute
- dynamic factories
- about / Dynamic factories
- Shape Factory example / The Shape Factory example
- convention, using / Using convention
- Telecom Switch, example / Telecom Switch example
- custom instance providers / Custom Instance Providers
- func / Func
- lazy / Lazy
E
- ExceptionInterceptor interface / Type Interception
- Extensible Application Markup Language (XAML)
- about / WPF and Silverlight applications
F
- Factory attribute / WCF applications
- factory interface / Custom Instance Providers
- factory method / Factory Methods, Custom Instance Providers
- FileInfo object / Implementing the plugin model
- filtering
- conditional filtering (When) / Conditional filtering (When)
- contextual arguments (With) / Contextual arguments (With)
- filter injection
- about / Filter injection
- filters
- about / Filter injection
- IActionFilter / Filter injection
- IResultFilter / Filter injection
- IExceptionFilter / Filter injection
- IAuthorizationFilter / Filter injection
- applying / Filter injection
- From(params Assembly[] assemblies) / Selecting the assemblies
- FromAssemblyContaining<SomeType>() / Selecting the assemblies
- FromThisAssembly() / Selecting the assemblies
- Func / Func
G
- GetAll() method / Member Interception
- GetAllCustomers() method / Member Interception
- GetDefaultImplementationType method / Extending Ninject
- GetLogger method
- about / Filter injection
- Global.asax file
- about / ASP.NET MVC applications
- Grab() method / How can DI help?
H
- HomeController class
- about / ASP.NET MVC applications
I
- ICommand
- about / WPF and Silverlight applications
- IContext interface / Activation context
- ICustomerRepository
- about / Windows Forms applications
- ICustomerRepository interface
- about / ASP.NET MVC applications
- ICustomerService interface / WCF applications
- ICustomerValidator
- about / Validator injection
- ICustomerView
- about / WPF and Silverlight applications
- IInitializable interface / Initializer methods and properties
- IInterceptor interface / Type Interception
- IKernel interface / Extending Ninject
- ILogger / It's all about Binding
- ILog log parameter
- about / Filter injection
- IMissingBindingResolver component / Extending Ninject
- IncludingNonePublicTypes() method / Selecting the assemblies
- InitializeClient method / It's all about Binding
- Initialize method / Initializer methods and properties
- InjectAttribute class
- about / Validator injection
- injecting dependencies
- example / Initializer methods and properties
- install-package Ninject / Hello Ninject!
- Intercept() method / Type Interception
- InterceptAttribute
- about / Intercept Attribute
- InterceptAttribute class / Intercept Attribute
- interception
- about / Interception
- setup / Setup Interception
- member / Member Interception
- types / Type Interception
- multiple interception / Multiple Interceptors
- InterceptAttribute / Intercept Attribute
- Intercept method / Type Interception, Multiple Interceptors
- InterceptReplace method / Member Interception
- InterceptXxx<T> method / Member Interception
- Inversion of Control (IoC)
- about / DI or Inversion of Control (IoC)
- invocation parameter / Member Interception
- IPerformanceMonitoringService
- about / Filter injection
- IShippersRepository / Contextual binding
- IsValid method
- about / Validator injection
- IView interface
- about / WPF and Silverlight applications
K
- kernel.Components property / Extending Ninject
- KernelBase class / Extending Ninject
L
- lazy object / Lazy
- LoadCustomers method / Windows Forms applications
- Load event
- about / Windows Forms applications
- LogAttribute class / Conditional filtering (When)
- LogFilter class
- about / Filter injection
- logLevel parameter
- about / Filter injection
M
- MailConfig class / It's all about Binding
- MailServerConfig object / It's all about Binding
- MailService class / My First DI Application, It's all about Binding
- MailService type / It's all about Binding
- Main method
- code / Windows Forms applications
- MainViewModel class
- about / WPF and Silverlight applications
- metadata resolution / Resolving metadata
- mocking kernel
- about / Mocking Kernel
- multi binding
- plugin model, implementing / Implementing the plugin model
- contextual binding / Contextual binding
- MvcApplication class
- about / ASP.NET MVC applications
- MVVM architecture
- about / WPF and Silverlight applications
- Model / WPF and Silverlight applications
- View / WPF and Silverlight applications
- ViewModel / WPF and Silverlight applications
N
- named binding / Named binding
- NamedLikeFactoryMethod helper method / Telecom Switch example
- Ninject
- about / Why use Ninject?, Hello Ninject!
- official wiki, URL / Why use Ninject?
- official website, URL / Hello Ninject!
- interception / Interception
- extending / Extending Ninject
- Ninject.Extensions.Factory library / The Shape Factory example
- Ninject.Extensions.WCF library
- about / WCF applications
- Ninject.Web.Common library
- about / WCF applications
- NinjectHttpModule
- about / WCF applications
- Ninject library
- about / WCF applications
- Ninject modules
- about / Ninject modules
- MailService classes, registering / Ninject modules
- NinjectWebCommon class
- about / ASP.NET MVC applications, WCF applications, ASP.NET Web Forms applications
O
- object lifetime
- about / Object Lifetime
- transient scope / Transient scope
- singleton scope / Singleton scope
- thread scope / Thread scope
- request scope / Request scope
- custom scope / Custom scope
- OnePerRequestHttpModule
- about / WCF applications
- OnLoad method / Windows Forms applications
- OnPropertyChanged method
- about / WPF and Silverlight applications
- OnStartup method
- about / WPF and Silverlight applications
P
- PerformanceMonitor property
- about / Filter injection
- plugin model
- implementing / Implementing the plugin model
- Proceed() method / Member Interception
- Proceed method / Multiple Interceptors
- Provider<T> class / Custom providers
- providers
- about / Custom providers
- activation context / Activation context
- factory method / Factory Methods
R
- RegisterServices method
- about / WCF applications
- request object / Extending Ninject
- request scope, object lifetime / Request scope
- Reset() method / Mocking Kernel
- ReturnValue property / Member Interception
S
- SalutationService / Hello Ninject!
- SaveCommand property
- about / WPF and Silverlight applications
- Save method
- about / WPF and Silverlight applications
- SelectAllAbstractClasses() method / Selecting service types
- SelectAllIncludingAbstractClasses() method / Selecting service types
- SelectAllInterfaces() method / Selecting service types
- SelectAllTypes() method / Selecting service types
- SelfBindingResolver / Extending Ninject
- service locator
- about / Service Locator
- Service Registration / It's all about Binding
- service types
- selecting / Selecting service types
- service types, convention over configuration
- selecting / Selecting service types
- ShapeService class / The Shape Factory example
- ShippersService class / Contextual binding
- ShippersSqlRepository class / Custom providers
- ShowDialog method
- about / WPF and Silverlight applications
- Silverlight applications
- about / WPF and Silverlight applications
- using / WPF and Silverlight applications
- SimpleInterceptor class / Type Interception
- singleton scope, object lifetime / Singleton scope
- SoC
- about / How can DI help?
- SqlCustomerRepository / Configuring the Bindings
- StandardInstanceProvider / Custom Instance Providers
- StandardProvider / Custom providers
- Start() method
- about / ASP.NET MVC applications
- SwitchService class / Telecom Switch example
- System under Test (SUT) / Mocking Kernel
- System Under Test (SUT) / How can DI help?
T
- target-based conditions / Target-based conditions
- Target object / Custom providers
- TextBox controls
- about / Windows Forms applications
- thread scope, object lifetime / Thread scope
- transient scope, object lifetime / Transient scope
U
- Unblock button / Hello Ninject!
- UniqueCustomerIdAttribute class
- about / Validator injection
- User.Current / Custom scope
V
- validator injection
- about / Validator injection
W
- WCF
- about / WCF applications
- WCF applications
- about / WCF applications
- WhenInjectedInto<T> method / Target-based conditions
- Windows Forms
- about / Windows Forms applications
- WPF applications
- about / WPF and Silverlight applications
- using / WPF and Silverlight applications
X
- XML configuration
- about / XML configuration
- using / How to use XML configuration