Sunday, 29 September 2013

Prevent to web serveice on browser url in asp.net

in web.config file
- <system.web>
    <customErrors mode="On" defaultRedirect="~/CustomeErrorPage.aspx?"/>
<!--<sessionState mode="InProc" cookieless="false" timeout="15"/>-->
    <pages validateRequest="false"></pages>
    <webServices>
      <protocols>
        <remove name="Documentation" />
      </protocols>
    </webServices>
  </system.web>

No comments:

Post a Comment

How to highlight selected text in notepad++

  –> To highlight a block of code in Notepad++, please do the following steps step-1  :- Select the required text. step-2  :- Right click...