Aapnet WebApi Hide method Hide route Disable Route Disable method Disable controller Hide route in help page

  • 769
  • 0
  • 2018-06-29

Aapnet WebApi Hide method Hide route Disable Route Disable method Disable controller Hide route in help page
 

Here I find some useful articles in StackOverflow:

Web api help page show only some controllers but no others

https://stackoverflow.com/questions/27154090/web-api-help-page-show-only-some-controllers-but-no-others

The setting way in this article can also be used to hide specific route under controller, just add attribute on top of the method in the controller class.

 

How to ignore a route in mvc4 webapi configuration

https://stackoverflow.com/questions/13468494/how-to-ignore-a-route-in-mvc4-webapi-configuration

Using asp net webapi how can i make a route exclude a set of controllers

https://stackoverflow.com/questions/26408662/using-asp-net-webapi-how-can-i-make-a-route-exclude-a-set-of-controllers

Disable apicontroller at runtime

https://stackoverflow.com/questions/13484826/disable-apicontroller-at-runtime

Can i disable a asp net web api route in web config

https://stackoverflow.com/questions/21769602/can-i-disable-a-asp-net-web-api-route-in-web-config

Dynamically Ignore WebAPI method on controller for api explorer documentation

https://stackoverflow.com/questions/27951728/dynamically-ignore-webapi-method-on-controller-for-api-explorer-documentation

Set the ApiExplorerSettingsAttributes value dynamically

https://stackoverflow.com/questions/44500951/set-the-apiexplorersettingsattributes-value-dynamically