An application for the Ninject example?

I want to start using Injection Dependency and IOC, and I want to use Ninject more.

Is there a good source code application that is written using Ninject that I can treat as a link?

+52
ninject
Nov 07 '08 at 8:00
source share
7 answers

Shameless plugin: I put together a very simple tutorial to get started with Ninject. Check out the Ninject Mini-Tutorial Part1 and the Ninject Mini-Tutorial Part2 . This should help you get started.

Here you can find the link to the source code of Github.

+47
Feb 22 '11 at 11:13
source share

Ninject can be used with various types of applications. This can be an ASP.NET WebForms application, an ASP.NET MVC application, or others.

For a detailed (with screenshots) step-by-step tutorial (with an example download application), in addition to going through the Ninject "dojo" that Brian mentioned, you can read the following:

http://peakbyte.wordpress.com/2009/09/28/how-to-use-ninject-ioc-with-asp-net-mvc/

Note that this tutorial was written when ASP.NET MVC 2.0 was not released. To work with ASP.NET MVC 2.0, a small modification is required, for example, obtaining the corresponding Ninject.Framework.MVC.dll file

+8
Dec 11 '09 at 11:50
source share

Also check out these screencasts in DimeCast . Good starter.

+4
Jun 23 2018-11-21T00:
source share

Are you watching the ninject-contrib project on Google Code?

+3
Nov 20 '08 at 17:21
source share

Ninject "dojo" is great for getting started.

Update: The link that was originally provided is no longer valid. All current documentation can be found on the Github wiki: http://wiki.github.com/ninject/ninject - Thanks, Martin.

+3
Jul 28 '09 at 3:58
source share

You can take a look at the MVC application for MVC Starter MVC (MVC2 and Ninject): http://mvcstarter.codeplex.com/

+2
Aug 10 2018-10-10
source share

I would recommend the Pro ASP.NET MVC 3 Framework book. It has great examples and explanations on how to implement Ninject, as well as Moq and Unit Testing, in a readable format that doesn't make you feel like Dummy.

+1
Mar 16 '12 at 18:23
source share



All Articles