cancel
Showing results for 
Search instead for 
Did you mean: 

Adding New Controllers Not Showing in UI

SOLVED
New Contributor

Adding New Controllers Not Showing in UI

Currently, I have 4 controllers/categories on my UI ready and working.

controllers.png

However, I have 7 controllers in my folder. The expectation is to have them show up, along with the others, in the screenshot above. I can't figure out why they aren't showing. Even the JSON view isn't picking them up. I've built and rebuilt the project but to no avail. Any ideas?

controllers-in-solution.png

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
New Contributor

Re: Adding New Controllers Not Showing in UI

I believe the issue was that inside the controller, the name of the class didn't in with the word "Controller". It ended with DTO. I removed that and it showed up.

 

I went from 

public class OrderControllerDTO : ApiController

to

public class OrderController : ApiController

View solution in original post

1 REPLY 1
New Contributor

Re: Adding New Controllers Not Showing in UI

I believe the issue was that inside the controller, the name of the class didn't in with the word "Controller". It ended with DTO. I removed that and it showed up.

 

I went from 

public class OrderControllerDTO : ApiController

to

public class OrderController : ApiController

View solution in original post