I had a series of very bizarre errors being thrown in my repositories.Row not found or changed, 1 of 2 updates failed...Nothing made sense.
I have a problem with the Ninject. My binding rules: this.Bind<ISphinxQLServer>().To<SQLServer>();
I\'m trying out Ninject with a winforms app (basically a sketch, I\'m using it sort of like a kata, but nothing so rigorous or specific) in .net 4.
I am using Ninject 2 with Asp.Net Mvc 2.0 (.Net 4 and IIS 6.0). My Global.asax.cs looks like this. public class MvcApplication : NinjectHttpApplication
I\'m attempting to use Ninject to inject repositories into controllers of my MVC project. public class HomeController : Controller
If you have better approach to handle custom Validation please let me know. I don\'t want service layer for this please.
I\'m trying to Bind a generic IRepository<> interface to my generic Repository<> - however it always return null?
I\'m at the moment working on a MVC3 Web application and ecountered a new problem with Ninject. I\'m using the following code in my controller:
As a disclaimer I shall say that I\'m still trying to wrap my head around the whole DI pattern therefore I guess it\'s needless to say that my code might probably have a major conceptual bug.
I\'ve just started playing with IoC containers and therefore chosed Ninject. After several hours of sweat and tears I still cant figure out how to setup my MVC3 application with Ninject.