简体   繁体   English

如何调试POST的SSL REST服务代码

[英]How to debug SSL REST service Code which is POST

I have a existing SSL based REST service whihc is deployed in my local IIS. 我已经在本地IIS中部署了基于SSL的现有REST服务。 I would like to debug the POST method in VS2012 code. 我想在VS2012代码中调试POST方法。

when I try locate w3p.exe under avaiable processes in Debug->attach to Process I couldnt find it. 当我尝试在调试->附加到进程的可用进程下找到w3p.exe时,找不到它。 Not sure if i am doing anything wrong in it. 不知道我是否在做任何错误。 I am running a test under the same solution which calls the following line of code 我正在同一解决方案下运行测试,该解决方案调用以下代码行

httpResponse = (HttpWebResponse)httpWebRequest.GetResponse();

The idea is, while running the test when above line of code hits which will essentially calling localhost REST service which source code is under the same solution and I have kept the break point in it so that when above line hits this will call REST based source code where i have kept break point. 想法是,在运行测试时,当上面的代码行命中时,它将本质上调用本地主机REST服务,该源代码在相同的解决方案下,并且我将断点保留在其中,以便在上面的行命中时将调用基于REST的源我保留断点的代码。

But i couldnt find w3p worker process in the list. 但是我在列表中找不到w3p worker进程。 pls suggest. 请建议。 I have to do this as its a HTTPS REST service. 我必须将其作为HTTPS REST服务来执行。

Noworries....I had to click on "All User" processs in order to see W3WP.EXE [IIS] process. Noworries ..我必须单击“所有用户”进程以查看W3WP.EXE [IIS]进程。 it may help others... 可能会帮助别人...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM