InfoQ

News

Interview : Nate Kohari on Releasing Ninject 1.0

Posted by Robert Bazinet on Jun 17, 2008 09:44 AM

Community
.NET,
Architecture
Topics
Loose Coupling ,
Object Oriented Design
Tags
Dependency Injection

In this interview with Nate Kohari, creator of the Ninject dependency injection container for .NET, talks about the release of version 1.0 of Ninject.  The interview has taken place over the past weeks leading up to the release of Ninject 1.0.

Nate goes into detail why Ninject was created, its capabilities, how it's different then the competition and much more.   Ninject supports the following platforms:

  • .NET Framework 2.0, 3.0 and 3.5
  • .NET Compact Framework 2.0 and 3.5 (Ninject.Core and Ninject.Conditions)
  • Silverlight 2.0 beta 2 (Ninject.Core, Ninject.Conditions, and all shipping extensions)

Features of Ninject 1.0 include:

  • Constructor, property, method, and field injection
  • Instantiation behaviors (singleton, one-per-thread, one-per-request)
  • Fluent interface for declaring type bindings
  • Contextual bindings, where the selection of which type to instantiate can be delayed until activation
  • Support for instance scope and deterministic disposal
  • Fully pluggable, modular design: each kernel component can be easily replaced to alter the framework’s behavior
  • Lightweight interceptor support (aspect-oriented programming)
  • Integrations with other popular frameworks

Please check out the complete interview Nate Kohari on Releasing Ninject 1.0.

Congratulations Nate by Al Tenhundfeld Posted Jun 17, 2008 2:26 PM
  1. Back to top

    Congratulations Nate

    Jun 17, 2008 2:26 PM by Al Tenhundfeld

    I've experimented with Ninject a little, and it feels much more intuitive to use than the other frameworks I've tested (Spring.NET & Windsor). I think Ninject is a major new contender in the DI/IOC arena, and if it's not attractive enough to pull people away from the other established DI frameworks, it should at least be enough to push the other vendors towards higher usability.

Educational Content

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.