NInject 1.5 Documentation - ninject

I have a project that targets .Net Framework 3.0 - and I don't want at this stage to target it at 3.5. I do however want to use NInject in it so I'm limited to NInject 1.5 - but I'm struggling to find any documentation on how to use NInject 1.5.
I've managed to find the NInject1 wiki here but something still seems to be missing in the explanation (i.e. I can't find any Bind method as described in the Wiki).
Please anyone that could point me in the direction of some more complete documentation would be great ... if it exists

This blog post has helped no end...
I was failing to inherit from StandardModule. The original wiki didn't seem to mention this, certainly not where I was looking.

Related

SCIM 2.0 implementations with good documentation

I just started exploring scim2.0. Following link provides me different implementations of scim2.0.
http://www.simplecloud.info/
Can some one suggest me, which one is easy to learn and has good documentation. It is helpful, if you suggest me some good tutorials about scim.....
If you're interested in a .NET / OWIN-based open source solution, please take a look at https://github.com/PowerDMS/Owin.Scim. Documentation is limited as the project is still in alpha, but there is a WIKI and sample project to help you get started.
Note: I am the lead developer on this project.
If you are looking for a reference Java/EE implementation of SCIM2 you can checkout Apache Directory SCIMple or SCIM 2 SDK | PingIdentity

How to use step object in Codeception v2.1

I'm a starter to learn Codeception and I found that officical guide didn't tell me anything about the step object.
The change log of version 2.1 says
all support classes moved to tests/_support by default. Actors, Helpers, PageObjects, StepObjects, GroupObjects to follow PSR-4 naming style
So anybody can tell me how to use step object in the latest version? Or give me a simple example about that? Thanks a lot.
Here should be what you are looking for:
http://codeception.com/docs/06-ReusingTestCode#StepObjects

System.Web has been removed in ASP.NET 5, so how do I find the new places?

So I jsut managed to deploya very basic MVC site on Ubuntu, behind nginx served by kestrel. Fantastic.
Now I just wanted to do a simple thing like show the visitors reported IP address, just for fun. You know, I want it to lead up to SQL/MySql get the whole feature set going on within Ubuntu.
But System.Web was removed from aspnet50 and broken down and you cannot just access System.Web.HttpContext... or Reaquest.UserHostAddress()
I can see #Request but I doesnt have all the properties I would be expecting.
How do I find... or am I supposed to find which dependency to add which contains that feature or any other feature I might be looking for from the full .NET 4.5 MVC?
To quickly find out which package might contain a type you're looking for, check out the totally unofficial Reverse Package Search. Just type in something like IPAddress and you'll get a list of packages that are good hints.
It's of course not 100% reliable, but it's better than guessing.
If you have JetBrains' ReSharper, it also provides context actions to find a namespace or a type on NuGet:
http://www.jetbrains.com/resharper/help/Finding_Exploring_and_Installing_NuGet_Packages.html

Turbogears 2.1 with mako - extensive tutorial

I am a python programmer.
For web-based solutions, I have started learning TG 2.1
By and large, the documentation on TG 2.1 official site is a work-in-process.
As regards to the templates, it tells how to go about Genshi.
I wish to go with mako.
Gone through the docs of mako (they are good).
But still, it would be better if I can get a tutorial explaining using TG 2.1 with mako.
(It will save me from re-inventing the wheel, if somebody has written docs on these lines).
Can anybody point to a tutorial for using TG 2.1 with mako.?
(I googled, but no convincing result was found).
Thanks,
Vineet.
When you run "paster quickstart" it should ask you if you want to proceed with genshi or mako. If you choose make the quickstart will set everything up for you and your project will be mako based.
If you want to add mako to an existing project to render only some templates with mako or for just for curiosity you can take a look at http://www.turbogears.org/2.1/docs/main/Templates/Mako.html to see how to add the mako renderer and render mako templates in TG2

How do I get access to Castle Windsor's Fluent Interfaces API?

I've been having tons of problems getting the non-xml configuration for Castle Windsor set up working properly. In the meantime I've seen more and more people giving advice via the Windsor Container fluent interface. I've been Gooogling about for the last day and I cannot find this API anywhere.
I am talking about the key .Register() method which seems to be an extension method to the IWindsorContainer object. It seems like it might be in the Castle.MicroKernel.Registration namespace, but I cannot find the corresponding library anywhere!
Also, is there any place where I can find documentation for this stuff?
EDIT:
I found that the copy of Castle.MicroKernel in the sample project here has more namespaces then the one I was using (even though this one is eight days older and v1.0.0 whereas mine is v1.0.3...), still having trouble finding the .Register() method or any samples though.
EDIT:
I found some fluent interface samples at Bitter Coder, no downloadable samples though so I'm still at a loss.
Edit Again: Finally got it. The most recent source code for castle windsor is available here, get the most recent successful build, inside the zip file is a bin directory. The fluent interface is inside Castle.Microkernel (you will probably need to reference Castle.Dynaproxy, Castle.Dynaproxy2 and Castle.Windsor too).
PS This post is the #1 Google result for "castle fluent interface documentation" sad guys, you need to get on that. Crickets chirp What's that? Fine. Let me figure this out then I'll get on it then.
The Fluent interfaces were introduced a while ago - but are only available on Trunk (after RC3) either grab the castles sources (from the projects subversion repository) and build the IoC projects yourself from here, or easier still grab the latest successful build on the continuous integration server and use that.
Castle.MicroKernel.Registration is the name space you'll need to use, in the MicroKernel assembly - once you have a reasonably fresh build of Castle you should be able to find Register(...) methods on both IKernel and IWindsorContainer interfaces, allowing the application of "registration components" (anything which implements IRegistration) which includes the various fluent component registration features in Castle, as well as anything custom you might develop.
The best place to ask questions regarding Castle is the google castle-project-users and castle-project-devel groups - keep an eye out for Craig Neuwirt in particular as he's the core developer working on the fluent interface features in Castle Windsor, and so is best equipped to answer questions about the various fluent interface features, as they are not widely documented yet.
Ok, so just for reference. Official, complete documentation for the API is on Castle Windsor Documentation Wiki