Recent posts

December Update of the Coding Guidelines for C# 3.0 and C# 4.0

I finally found some time to update the coding guidelines with some feedback I received since it’s original release in June this year.

Read more…


Published: 23-12-2010 by Dennis Doomen | 0 Comments | 0 Links to this post
 

Viewing log files in Notepad++

The application I’m currently working on writes interesting application events to a log file. From time to time we need to resort to this log file to analyse certain issues in the application. I always use Notepad++ to open the log files (or any text files for that matter…). Yesterday I discovered a useful feature in Notepad++ that allows me to apply syntax colors to my log files. This feature is ‘User Defined Languages’. It turns out you can define your own language with keywords and rules to apply syntax coloring to any of your files. From the Notepad++ ‘View’ menu, open the ‘User-Defined Dialog…’. From there, you can define your language settings. When you have defined your language, you can select it from the ‘Language’ menu, to apply it to your file. You can also associate it with one or more file extensions. You can read more about this feature on the Notepad++ Wiki.

Using my user defined Log file language, my log file is no longer displayed like this:

LogFileWithoutSyntaxColoring

… but rather like this:

LogFileWithSyntaxColoring

This is realy helpful for example when skimming log files for errors and warnings.


Published: 18-12-2010 by Martin Opdam | 0 Comments | 0 Links to this post
 

A night of Silverlight, WPF, unit testing and Caliburn Micro

Last Thursday, me and my employer Aviva Solutions hosted the December edition of the DotNED user group in Leiden. I gave two talks that evening and wanted to share my slides and example code from here.

Best Practices for Writing First Class Unit Tests
Slides, Example Code

Building Testable Silverlight and WPF applications using Caliburn Micro
Slides, Example Code

Notice that you need Visual Studio 2010, the Silverlight 4 Tools and probably the Silverlight 4 Toolkit (but I’m not entirely sure about the latter).

If you have any questions, let me know.


Published: 11-12-2010 by Dennis Doomen | 0 Comments | 0 Links to this post