As far as I can tell in the current Beta controller class type names *must* end with the Controller suffix unless you iplement your own IHttpControllerFactory
Not a big deal, but for those porting wcf-webapi code over might save you a few minutes to not track down why you think your DependencyResolver isn't working :)
chrisortman
Member
38 Points
23 Posts
[BETA] Controllers MUST end with Controller
Feb 17, 2012 04:52 PM|LINK
As far as I can tell in the current Beta controller class type names *must* end with the Controller suffix unless you iplement your own IHttpControllerFactory
Not a big deal, but for those porting wcf-webapi code over might save you a few minutes to not track down why you think your DependencyResolver isn't working :)
danroth27
Member
174 Points
40 Posts
Microsoft
Re: [BETA] Controllers MUST end with Controller
Feb 17, 2012 05:48 PM|LINK
Yup, good point. I've updated our migration notes accordingly.
Daniel Roth
Senior Program Manager
ASP.NET
james-world
Member
103 Points
50 Posts
Re: [BETA] Controllers MUST end with Controller
Feb 17, 2012 06:56 PM|LINK
This should help if you need to to implement a factory:
http://forums.asp.net/t/1770736.aspx/1?Implementing+IHttpControllerFactory+CreateController