none
WCF 4 - REST Help page

    Question

  • WCF 4.0 has support for REST help page that can be enabled using 'helpEnabled' attribute on <webHttp> element in Web.config.

     

    But is it possible to intercept the request for this help page? I have a scenario where I don't want to show all the services (in the service contract) on this help page. So I want to modify the content that gets rendered on this HELP page.


    MP
    Wednesday, September 22, 2010 6:13 PM

Answers

  • Hi,

    As far as I know you're unable to do so. You may create a custom HTML page yourself to show anything you need. By using Reflection you may get all necessary inforamtion you need about the service.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. Windows Azure Platform China Blog: http://blogs.msdn.com/azchina/default.aspx
    Monday, September 27, 2010 3:36 AM
    Moderator

All replies

  • Hi,

    As far as I know you're unable to do so. You may create a custom HTML page yourself to show anything you need. By using Reflection you may get all necessary inforamtion you need about the service.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. Windows Azure Platform China Blog: http://blogs.msdn.com/azchina/default.aspx
    Monday, September 27, 2010 3:36 AM
    Moderator
  • Thanks for this hint. I was trying for this from a long time.
    Friday, July 19, 2013 5:10 AM