Lambda Curry in F# 30 October 2010 Kris-Vandermotten .NET Bart De Smet commented on my post about Lambda Curry in C#, saying (amongst other things) that F# supports currying out of the box. That’s true, and it’s a nice feature of the language. However, it is a mechanical operation, almost identical to what the following C# extension method does: public... [More]
T9 encoding, decoding and prediction in C# 26 October 2010 Diederik-Krols WPF T9 stands for Text on 9 keys. It's the -patented- mobile phone technology that allows words in SMS messages to be entered by a single keypress for each letter. So instead of pressing the '3'-key three times to enter an 'f', you press the key only once. The software will then try to figure out whethe... [More]
Invoking commands from events using the InvokeCommandAction behavior 20 October 2010 Peter-Himschoot WPF/Silverlight MVVM is something for me. Databinding your data and behavior so you don’t have any code in your views is for me a nice separation of concepts. However some control’s cannot execute a command for certain events, for example when you select something in a listbox. Enters InvokeCommandAction, which is... [More]
Entity Framework 4 with Self Tracking Entities - Splitting up the generated entities onto a shared Entities assembly with (almost) no fuss 17 October 2010 Peter-Himschoot I love the new Entity Framework 4 T4 templates for generating POCO’s and Self Tracking Entities. However the generated code ends up in a single assembly, mixing database independent POCO’s and STE’s with Entity Framework specific code. I like my entities to be in another project. How can we do this?... [More]
U2U is still looking for colleagues 16 October 2010 Peter-Himschoot Stuff Today someone asked my if U2U is still looking for new colleagues, since some time passed since the announcements in popular job-sites. The answer is YES! If you’d like to join the U2U team, contact us! And maybe you’ll be joining us at TechEd Berlin. The perfect opportunity to get to know each oth... [More]
Building a generic EntityViewModel 15 October 2010 Peter-Himschoot In this blog post I want to show you a little ViewModel wrapper for entities I’ve built. You can use it to wrap entities who don’t need to support property change notifications, implementing the INotifyPropertyChanged interface. When your model’s entities support INotifyPropertyChanged and IDataErro... [More]
Essential WPF ListBox Styling 12 October 2010 Diederik-Krols WPF This article explains how to style a WPF ListBox. I know: there must be a million articles about this subject. So if you're looking for kaleidoscopic brushes, dazzling effects, and animations from outer space, then feel free to press the Back button in your browser to return to your search engine pa... [More]