0

If you open an ASMX file in a browser, it shows you a nice summary of all of its functions.

Is it possible to do the same for all public functions in ASP.NET MVC controller ?

David
  • 1,051
  • 5
  • 14
  • 28
  • Possible duplicate question: http://stackoverflow.com/questions/21583278/getting-all-controllers-and-actions-names-in-c-sharp – David Vogel Jun 25 '15 at 20:38
  • I didn't mean to do it grammatically. I meant I'd like to open a controller in a browser and see all of its functions. – David Jun 25 '15 at 20:41
  • If you can see the controller from the view, it isn't technically a controller. :) – David Vogel Jun 25 '15 at 20:51

1 Answers1

1

No, not from a browser.

The whole point of having a controller is to control what is displayed in the view. The controller should not present itself to the browser. By it's very nature a controller is designed to present something else to the browser, namely the view:

enter image description here

You could, however use a tool like Glimpse to get a peak at those public functions.

Community
  • 1
  • 1
David Vogel
  • 465
  • 8
  • 23