I\'m using ninject as my IoC and 开发者_StackOverflow社区I wrote a role provider as follows: public class BasicRoleProvider : RoleProvider
I used to use Castle as an IoC but I had a problem using Nhibernate/Castle(IoC) in the same project so i moved to Ninject.Now to get to the question, I have this class:
I\'m trying to use the [Inject] attribute on a BasicRoleProvider : RoleProvider provider. In my provider, I did:
I have the following NinjectModule, where we bind our repositories and business objects: /// <summary>
Something that has been bugging me since I read an answer on another stackoverflow question (the precise one eludes me now) where a user stated something like \"If you\'re calling the Service Locator,
I\'m currently using Ninject to create instances of interfaces in a WCF Services application. Bind<IObjA>().To<ObjA>().InRequestScope();
I\'ve seen a lot of different ways of configuring Ninject with ASP.NET MVC, but the implementation seems to change slightly with each release of the MVC framework. I\'m trying to inject a RavenDB sess
I am trying to use Ninject to implement cascading injection into a class that contains an IList field.It seems that, unless I specifically specify each binding to use in the kernel.Get method, the ILi
The Ninject initialization works fine when i run my application directly from VS2010, but if I deploy the application to our custom \"plugin\" environment I get this error when I run the app and it tr
I\'m adding Ninject to my WCF service (hosted in IIS).I intend for the WCF service to automatically instantiate instances of my NHibernate repository classes.