0

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 1

1

I have done it for AutoFac here. Should give you enough pointers to implement it yourself.

Sign up to request clarification or add additional context in comments.

1 Comment

thanks, I also found this resource here: asp.net/web-api/overview/extensibility/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.