In my MVC3 app I have an IDataRepository interface which is referenced by all my controllers to give them access to the data layer. There\'s also a DataRepository class which is implements IDataReposi
While implementing the Roleprovider so that it gets the roles from a database. I keep getting a object no instance of... exception.
This is an extension to the question Why do I need an IoC container as opposed to straightforward DI code?
I am trying to implement IoC (Ninject) for Ravendb and have ran into a little snag.I am using code from http://www.dotnetguy.co.uk/post/2010/06/12/raven-db-ndash-part-1-ndash-docume开发者_如何学编程nt
I have a custom authorization class that inherits from FilterAttribute and implements IAuthorizationFilter. I am using the latest version of Ninject w/ asp.net MVC 3 support.
I have an ASP.Net webforms app, that uses Ninject 2.2.0.0 I have a HTTPHandler that inherits from the Microsoft.Web.ImageHandler class.
I was able to to use ASP.NET MVC 3 and Ninject 2.2 to inject a logger object into a custom ActionFilterAttribute thanks to the help I received in this post.
I\'m starting a web application with MVC3 and Ninject. There is one dependency that I also need in the Global.asax file that needs to be a singleton.
So I m just trying to test my modules, normally i would go and create a Kernel with the given module and then try to get an instance, however t开发者_开发问答his scenario involves a few modules and it
I am attempting to create a simple bootstrapper. My boostrapper code looks like: public static void Run()