Crypto Logger For Net

Crypto Logger For Net – If you have been developing software for any length of time, you will know that at some point or another you will be required to log application events such as errors or other information. This is especially true if you are creating an application without a user interface such as a Windows Service. Many times you can revert to writing your own implementation of a logging framework, but this takes time to do. So what options are left? (more…)

Continue ReadingCrypto Logger For Net

Debugging Windows Services using an #if Directive

Debugging Windows Services – I love writing them. In fact, to encompass a unit of functionality in a self contained bit of code is incredibly powerful. That is, if it is written correctly. I think it is something we as programmers take a bit for granted. One thing I know, is that debugging a Windows Service is one of the most painful things ever. Give it a try… Create a Windows Service in Visual Studio (I’m using Visual Studio Ultimate 2012), start it in debug mode and take a gander at the error message you get.

(more…)

Continue ReadingDebugging Windows Services using an #if Directive

Creating a Windows Service with a Timer

Okay, you probably all know this, but somewhere someone doesn’t. And I thought it might be a nice article to post. Have you created a Windows Service Timer that isn’t working? The reason for this is because you probably added a Windows Forms Timer to your Service instead of a System Timer. So for future reference, this is what I did:

(more…)

Continue ReadingCreating a Windows Service with a Timer