http://site.com/Admin/User/Index
Admin – area.
I need:
get controller Account (path /site.com/AccountController)
@Html.ActionLink(“Log On”, “LogOn”, “Account”)
This gives me the following errors:
“The IControllerFactory ‘Web.Infrastructure.NinjectControllerFactory'”
“did not return a controller for the name ‘Account’.”
Use the Ninject.MVC3 extension instead of writing your own
NinjectControllerFactory. It supports areas. https://github.com/ninject/ninject.web.mvc/wiki/MVC3