Some blog about some stuff (mostly programming)

.NET - Dynamically generating classes in runtime

Reflection API in .NET is one of the most powerful and incredible features of it. And along with DLR it enables a whole new look at what can be done in .NET languages. One of problems i had to solve recently was how to create a unified DSL for queries that could be used with most C# DB drivers(they had to have IQueryable support). It turned out ... Read more

WPF - Custom UserControl datacontext binding gotcha

Creating custom user controls in WPF and as well as fully supporting MVVM with binding is a pretty straightforward process, but there are a couple of things that, at a first glance, look like they should work but they’re not. At least for me. One of those things is when you bind DataContext to code behind, or to Self. A simple custom user contr... Read more