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]
Safe disposal of WCF proxies 28 September 2010 Kris-Vandermotten WCF The issue has been known for a long time: you cannot safely dispose a WCF proxy that inherits from ClientBase<T> with a using statement, because the dispose method may throw. For more information, see http://www.google.com/search?q=wcf+proxy+dispose. However, I’ve always found most solu... [More]
A Rich HTML TextBlock for WPF 31 August 2010 Diederik-Krols WPF This article -proudly- presents a WPF control that displays rich text from an HTML source: it has a Text dependency property that you can bind to a HTML-formatted string. It's designed to display -not edit- rich information messages like warnings, error messages, and other feedback e.g. from a local... [More]
Getting and setting the Transaction Isolation Level on a SQL Entity Connection 30 August 2010 Diederik-Krols Entity Framework 4.0, SQL Server This article explains how to get, set, and reset the transaction isolation level on a SQL and Entity connection. In a previous article I already explained how important it is to explicitly set the appropriate isolation level when using transactions. I'm sure you're not going to wrap each and every d... [More]
Nog een beetje tijd over deze (natte) zomer? 09 August 2010 Peter-Himschoot Duik erin met MSDN. Microsoft Belgie heeft een aantal zelf-trainingen staan om je up-to-speed te krijgen met: Silverlight 4 Visual Studio 2010 Windows Phone 7 Windows Azure De laatste komt binnenkort online.