I placed a handler "CarHandler.cs" into my module's "handlers" folder:
public class CarHandler : ContentHandler
public CarHandler (IRepository<CarPartRecord> carPartRepository)
But when starting the web application (before I also shut down IIS Express), my CarHandler gets not instanciated (a breakpoint in the constructor will not be hit and stays "white" because the symbols are not loaded).
A breakpoint in the constructor of an "out of the box" orchard module, like QueryPartHandler.cs of "Orchard.Projections", will be hit.
Even if I copy and paste my CarHandler class into the QueryPartHandler.cs file, it will be hit!
I suppose something must be wrong with my module. Do I need to enable a module to use handlers?
Thanks for any hint!