Home > Web > Debugging a web service on production server

Debugging a web service on production server

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

Advertisements
Categories: Web Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: