I’m currently using StructureMap with MVC, but its complaining that my api controllers don’t have a default constructor. Can someone point me in the right direction in order to set this up with StructureMap? As I understand, MVC and WebApi have separate resolvers (which makes sense since they are separate frameworks).
I’m currently using StructureMap with MVC, but its complaining that my api controllers don’t
Share
I have done it for AutoFac here. Should give you enough pointers to implement it yourself.