Debugging a WCF Service running in IIS, process not showing in process list
Few days ago, I wanted to debug a WCF service hosted in IIS (on localhost). Sounds simple, just use Visual Studio "Debug > Attach to Process..." command (Ctrl + Alt + P).
However, aspnet_wp.exe (running Windows XP) was not displayed in the list of running processes (while the "Show processes from all users" was checked).
So I started crawling the web to find why this process didn't show up in the list. And the answer was very simple: this process is not started if no request has been made yet. Simply heading to the .svc URI of the service started the process, which was then available in the list of processes.
blog comments powered by Disqus