Wrapping a C# service in a console app to debug it.
- by Jack Smit
I want to debug a service written in C# and the old fashioned way is just too long. I have to stop the service, start my application that uses the service in debug mode (Visual studio 2008), start the service, attach to the service process and then navigate in my Asp.Net application to trigger the service.
I basically have the service running in the background, waiting for a task. The web application will trigger a task to be picked up by the service.
What I would like to do is to have a console application that fires the service in an effort for me to debug. Is there any simple demo that anybody knows about?
Thank you
Jack