I am using ASP.NET MVC 2 with Ninject and Linq2SQL behind a repository template based on Rob Conery TekPub Starter Site .
Everything works fine with controllers, but I have an HTTP handler (it serves and resizes images from the database), and I have no idea how I use Ninject to replace the ISession interface with a specific instance of my LinqToSQLSession.
How am I best to do this?
source
share