Latest Posts

My new talk about .NET Threading is online

2017-02-03 at 12:48 0 comments

My new talk about .NET Threading that I held last Monday at the .NET User Group Regensburg is now online. In it, we’ll take a look behind the curtain of threads, the thread pool, tasks and async await as well as lock-free programming.

Continue reading

More on Design by Contract: Assertions and Inheritance

2016-05-07 at 14:36 0 comments

My previous two posts about Bertrand Meyer’s Design by Contract (DbC) were mainly introductions to pre- and post-conditions and class invariants and how they can be implemented in C# – in this one we’ll check out what implications DbC has if it is combined with the inheritance mechanism of object-oriented programming languages.

Continue reading

My Design by Contract Talk is Online

2016-01-30 at 14:36 0 comments

If you happen to speak German, you can watch the video of my latest talk at the .NET User Group Regensburg which I held on last Monday, the 25th. of January. In it, we discuss the basics of Design by Contract with its Pre- and Post-Condtions, Class Invariants, and Variants and Invariants for loops as well as a framework called Code Contracts that provides functionality to introduce DbC in .NET. Furthermore, we check out alternatives to Code Contracts and the importance of executable specifications.

Continue reading

Stronger-Typed Resource Dictionaries in XAML

2015-12-29 at 14:12 0 comments

If you’ve ever programmed in XAML-based technologies, you for sure know Resource Dictionaries: these XAML files usually contain the styles and templates you want to share across different views, or provide the default styles for Custom Controls you’ve written.

If you want to merge Resource Dictionaries into others (like e.g. within your App.xaml file), you normally use so-called PACK URIs to reference them. However, there is another way: you can combine your XAML file with a code-behind file to create a subclass of ResourceDictionary and reference it via its class name. This is what I call Stronger-Typed Resource Dictionaries.

Continue reading

FlipView and Problems with Input Controls – Part 2

2015-12-14 at 16:51 0 comments

In my last post, we discussed the problem that text controls residing in a FlipView are not scrolled / moved to the top area when the Windows touch keyboard fades in at the bottom area of the screen. In this post, we take a look at the keyboard dismiss problem that also occurs when you put input controls into a FlipView.

Continue reading