I\'m trying to combine Mvc2 with Ninject and NHibernate, and found a guide here: http://damianm.com/tech/nhibernate-mvc-and-ninject/
I have a profile object in session with profile information for the currently logged in user.I wand to be able to inject it into my business classes so I can do validation etc in them without having t
I am confused about why I am receiving\"Ninject.ActivationException : Error Activating string No matching bindings are available, and the type is not self-bindable\" in random bindings. If I leave the
Setup I have an AutoMapperConfiguration static class that sets up the AutoMapper mappings: static class AutoMapperConfiguration()
I have a LoggedTextWriter that I\'d like to inject in to the Log property of the LinqToSql DataContext class.
Sorry in advance for the long question, it\'s long because I\'ve been digging at this all day. The general problem:
I am looking to con开发者_Python百科vert followingcode to StructureMap: private Mock<MembershipProvider> MockMembership = new Mock<MembershipProvider>();
I\'m using MVVM light and have set up the binding as following: class TestModule:NinjectModule { public override void Load()
I have a service class : public class MyService : IService { private IRepoA repoA; private IRepoB repoB; public MyService(IRepoA repoA,IRepoB repoB)
If I have class A which has a dependency on class B, then class B could be passed in to the ctor of class A.