I want to have BlaController : ApiController
, with BlaController located in /Areas/XXX/ ( or namespace MySolution.Areas.XXX.Controllers
)
The problem is that when I browse to http://localhost:1935/XXX/Bla/SomeAction
I get 404.
Normal controllers (: Controller
) do not throw 404.
Note: SomeAction would be for example "public string SomeAction() { return "hi"; }", within BlaController
*Note 2: Tried* http://localhost:1935/api/Bla/SomeAction
and didn't work either