Ninject tutorials/documentations?
Asked Answered
J

3

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.

Joellajoelle answered 8/3, 2011 at 22:18 Comment(0)
B
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)

Bicollateral answered 9/3, 2011 at 8:18 Comment(1)
@caveman: BTW some updates have happened to the github wiki recently and watch this space (this Q prodded a little!)Bicollateral
H
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.

Hysteroid answered 27/7, 2012 at 5:39 Comment(0)
F
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.

Fertilize answered 3/3, 2020 at 19:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.