7

According to the official site: The best place to learn about Ninject is from the official wiki on Github.

Is that true? As a beginner, I found the official wiki not very helpful. Are there any better tutorials available? I tried Google, but didn't find what I was looking for.

Ruben Bartelink
  • 59,778
  • 26
  • 187
  • 249

3 Answers3

2

Depends on what context you're using it - e.g. for ASP.NET Web Forms and ASP.NET MVC there are a good few blog posts around (though the Web Forms are typically based on v1)

I personally found that I just wanted a thorough end-to-end understanding of what this baby can do... For that, there's no substitute for just downloading the source and reading the tests - they're compact and complete and are bound to teach you a thing or two about writing good tests along the way.

(The maintainers are aware of the pain of the fact that a subset of the documentation is v1 specific, but unfortunately nobody (including myself, blush) has yet stepped up to the plate to do the update)

Ruben Bartelink
  • 59,778
  • 26
  • 187
  • 249
1

I have put up a mini tutorial on my blog:

http://stefanoricciardi.com/2011/01/21/ninject-mini-tutorial-part-1/

Hope you find that useful.

Stefano Ricciardi
  • 2,923
  • 3
  • 33
  • 40
0

There is a very good tutorial for beginners at:

https://medium.com/the-liberators/a-step-by-step-guide-to-using-ninject-for-dependency-injection-in-c-68a125bd7fa4

This provides an up-front introduction to dependency injection followed by a simple but good example.

Doug Kimzey
  • 1,019
  • 2
  • 17
  • 32