GotSharp? is a weblog from developers, for developers!

Log4Net, custom PatternLayout

I was looking for a way to add my own parsers to the PatternLayout class, and found following solution:
public class CustomPatternLayout : PatternLayout {
protected override PatternParser CreatePatternParser(string pattern) {
PatternParser parser = base.CreatePatternParser(pattern);

[...]

Filed under:.Net, C#, Examples, Tips & Tricks

Multithreading does not have to be hard

When you write an application that takes some time to complete a task, it might become unresponsive to the user. Ever seen an application turn all white when clicking it?
The answer to solve this is multithreading. But writing a multithreaded application can be quite difficult. If you rush into coding, you quickly [...]

Filed under:.Net, Examples, Tips & Tricks, VB