Monday 15 July 2013

Disable WCF instruction page -


Ah! I did this before, just can not remember how do you disable this page when you come to the WCF .svc page? So that it only displays a blank page?

WCF

Set false

Example:

  & lt; Services & gt; & Lt; Service name = "Microsoft.WCF.Documentation.SampleService" behaviorConfiguration = "Metadata endbub" & gt; & Lt; / Services & gt; & Lt; / Services & gt; & Lt; Behavior & gt; & Lt; ServiceBehaviors & gt; & Lt; Transaction name = "metadata endbub" & gt; & Lt; Servicedeveloped httpHelpPageEnabled = "false" /> & Lt; / Behavior & gt; & Lt; / ServiceBehaviors & gt; & Lt; / Behavior & gt;    

No comments:

Post a Comment