.net editor MVC
.net editor MVC

I am able to run the .net demo project just fine. I then created my own project, added references, etc. I am getting a 404 error when running:
Requested URL: /Web/api/Categories
I am thinking that these api pages are created dynamically because I don't see any in the demo project either. What am I doing wrong?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
In MVC the route (path / url / whatever you want to call it) is defined by the Controller class and the method names - see this part of the manual.
In WebAPI (which personally I prefer to use in combination with Editor) you use the
Route()
decorator to specify the path.Allan