1

I have published an hosted a .NET application in IIS, is there any way I can see what happens in the code when I make a call to the server side from my Android client?

1 Answer 1

2

You should be able to use the debug - attach to process menu option to attach to w3wp.exe

As long as the compiled code is the same as the source, and the pdb's are there, it should attach fine.

Sign up to request clarification or add additional context in comments.

9 Comments

Can you please explain the steps.
@Sreekanth in Visual Studio: "Tools" -> "Attach to Process..."; or more simply, set the web debugging options to be IIS, and just hit F5. Note: you need to be running Visual Studio as a local administrator in elevated privilege to debug inside IIS.
I forgot about the permissions, thanks @MarcGravell - it's probably worth noting that when I use that, it's under the "Debug" -> "Attach to Process..." menu, rather than Tools.
In that case what should I use as the URL? I have given the project URL as "localhost/WcfImageUpload" I understand the localhost should be replaced with 10.0.2.2, but should I need to provide a port number?
@Sreekanth anything that resolves to that site in IIS
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.