ASP.Net WebServices: Enabling or Disabling POST, GET, and Documentation Requests

It is relatively easy to control access to the various HTTP request types (protocols) for your ASP.Net WebService.

Add something like this to the system.web section of your web.config:

[ccie_html lang=”xml”]






 


[/ccie_html]

Of course you will want to tailor this to the needs of your own web service. 🙂



This entry was posted in C#, Web Services, WinForms. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *