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).
1 Answer
I have done it for AutoFac here. Should give you enough pointers to implement it yourself.
1 Comment
jaffa
thanks, I also found this resource here: asp.net/web-api/overview/extensibility/…