Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

How to Debug or Test your Windows Service Without Installing it...

, 25 Oct 2011 CPOL
I am writing a service at present and have written a few over the years. What I do now is put all the code in a separate DLL from the start off. My service methods Onstart, OnStop call into the DLL which starts a thread to do the work.For debugging, I have a separate test harness console app...
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

KeithAMS
Software Developer
United Kingdom United Kingdom
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 25 Oct 2011
Article Copyright 2011 by KeithAMS
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid