Category Archives: C#

Unit Testing Events

Recently I have had to unit test some events in an application I work on. I came up with a workable solution, but I didn’t really like the way it was working, and it just looked ugly. So I did … Continue reading

Posted in C#, Coding | Leave a comment

Even more on the generic plugin manager

I’ve written previously about writing your own generic plugin manager/framework. I believe that this is a worthwhile exercise for the beginning programmer, because it firstly teaches you a lot about reflection, and secondly teaches you the advantages that proper use … Continue reading

Posted in C#, Coding | Tagged , , | 2 Comments

More on the generic plugin manager

Update: I’ve written some more about what I’ve learned whilst working on my plugin manager here: http://temporalcohesion.co.uk/2010/03/17/even-more-on-the-generic-plugin-manager/ A few months ago I wrote about writing a generic plugin loader/manager in C#, where I offered links to several articles and referenced … Continue reading

Posted in C#, Coding | Tagged | 2 Comments

A psake build script example

I have recently started using psake to do some build automation at work, and I’ve found that there is not a great deal of information about how to write a build script using psake available on the internet. It isn’t … Continue reading

Posted in C#, Coding, Powershell | Tagged , | 1 Comment

Adding logging to an application

Nearly every application I have ever used has produced some sort of log output, usually to record details of exactly what the application was doing when an error was encountered. To be perfectly truthful, it is not something that I … Continue reading

Posted in C#, Coding | Tagged , | Leave a comment