I am using Ninject in my ASP开发者_如何学C.NET MVC 3 project and now have a complicated object graph.
I need to call something in my application start to start my quartz.net scheduler. The problem is that I need to pass in a repository into my service layer that normally is done with ninject and depe
I am using Quartz and Ninject and I would love to be able to GetScheduler\'s automatically binded(similar to how you can bind sessions automatically with ninje开发者_开发问答ct and nihbernate).
I have an interface with a few different concrete implementations. I am trying to give Ninject a default to use and only use the other implementation if a name matches. For instance, I have the follow
I have a follwing Ninject bindings in my project. Bind<IThingsDataContext>().To<ThingsDataContext>().InSingletonScope();
Is there a built in or a proper way to handle errors in asp.net mvc 3? This is what I want to do: If the application crashes, or throws an error, it goes to a specific error page.
I\'m attempting to bind some repositories to child controller, but I keep on getting en error that NinjectControllerFactory\' did not return a controller for the name \'soccer\'.
I\'m using Ninject with an MVC app, also using EF4.1 Code First. I\'m getting a problem when trying to test that I can make a request from two different browser instances.
I am looking for some help on how to implement the fluentvalidation framework with ninjects as DI framework.
I am using the Ninject and Ninject.Web assemblies with a web forms application. In the global.asax file I specify the bindings like so: