Ninject Binding
问题 How do bind my interface to a concrete class in a different assembly? I have the following projects in my solution: Foo.Data Foo.Domain In Structure Map I add my two assembly names to the StructureMap.config file and a then using the PluginFamily and Pluggable attributes map my interfaces to my concrete class'. How can accomplish the same thing with Ninject? 回答1: I'll make a couple of assumptions here. You have an interface named IBar in your Foo.Domain project and you have a concrete class