Archive

Archive for the ‘Web’ Category

Debugging a web service on production server

01.06.2010 Leave a comment

Browsing the Internet, found an interesting suggestion of how to debug a web service on production server without Visual Studio. “Debug” means ability to run web service with some parameters and check results. To bypass Microsoft security blockhouses it is enough to add following code to the <system.web> section of web.config:

<webServices>
    <protocols>
        <add name="HttpGet"/>
        <add name="HttpPost"/>
    </protocols>
</webServices>

 It will enable input of test parameters when opening an .asmx file.

Source: Ever need to debug a web service from the production server rather than Visual Studio?

Posted just for not forget/lost

Categories: Web Tags: ,