Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
20912 Points
3279 Posts
Apr 12, 2012 01:17 PM|LINK
There is something missing for sure. Probably the pronlem is with the constructor as suggested by the error message you receive.
Your controller must have either a constructor with no parameters, or a constructor with parameters whose types have been mapped with Ninject.
Typically you put an IRepository in the constructor of your controller, and then you instance it with an actual Repository with Minject.
Wgere have you done this?
francesco ab...
All-Star
20912 Points
3279 Posts
Re: Not found in the method GetControllerInstance parammetr Type controllerType
Apr 12, 2012 01:17 PM|LINK
There is something missing for sure. Probably the pronlem is with the constructor as suggested by the error message you receive.
Your controller must have either a constructor with no parameters, or a constructor with parameters whose types have been mapped with Ninject.
Typically you put an IRepository in the constructor of your controller, and then you instance it with an actual Repository with Minject.
Wgere have you done this?
Mvc Controls Toolkit | Data Moving Plug-in Videos