Gert Verhoeven

.NET Developer in C#, ASP.NET, DotNetNuke, ... at Ordina Belgium
posts - 5, comments - 7, trackbacks - 0

My Links

News

Archives

Post Categories

ASP.NET

General .NET

November 2007 Entries

Debug a Windows Service without installing it
When you want to debug your own written Windows Service, you have to install the service on your local machine and attach the Visual Studio 2005 debugger to the process. There is an easy way to start (and test) the windows service within Visual Studio 2005. 1) Add a public method to your windows service class to invoke the protected OnStart : public void OnStart() { this.OnStart(null); } 2) Add a new class to your windows service project public class Entry { static void Main() { #if DEBUG MediationService...

Posted On Wednesday, November 28, 2007 3:33 PM | Feedback (3) |

Powered by: