Click here to Skip to main content
12,359,751 members (64,866 online)
Click here to Skip to main content

Tagged as

Stats

7.5K views
3 bookmarked
Posted

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

You may also be interested in...

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