WPF 4.5 Cookbook

April 26, 2012

A few months back, I was approached by Packt publishing, asking me to write a WPF book, in their “cookbook” style, and I accepted. I haven’t written an entire book before, but I have written dozen of courses for Hi-Tech College, John Bryce Training and now for CodeValue, in a range of topics, from Windows Internals and device driver development, to advanced C++, to basic and advanced .NET topics, to WPF, and even some oddities such as the Windows Media Foundation. Writing a book, however, is different than writing a course, and I was at least curious whether I...

Windows Devices UG Meeting Reminder: WinRT & Metro Apps

April 17, 2012

The Windows Devices user group managed by Elad Shaham and myself is meeting next Tuesday (the 24th) at Microsoft Offices in Ra’anana. We’ll have two sessions dedicated to Windows 8. Full agenda and registration (free) is available at http://insidewindowsruntime.eventbrite.com/ See you there!

WPF 4.5: Markup Extension for Events

April 7, 2012

One of the new features coming in WPF 4.5 (already available through the Visual Studio 11 Beta and .NET 4.5 Beta) is the ability to create markup extensions that work on events (as opposed to properties, which have always had this capability). Markup extensions for properties are crucial, and there are quite a few useful ones, such as {Binding} and {StaticResource}. Would this ability be useful for events? One such case is when a command is needed to be invoked (ICommand) because of some event, typically found in MVVM scenarios. The problem is that only some events can actually...
tags: , , , , ,
no comments

What’s New in CLR 4.5 Debugging API?

April 3, 2012

The most used command in the SOS extension DLL is probably !dumpheap. This command is able to show every object on the managed heap. This capability has no match within Visual Studio. The reason is that Visual Studio uses the CLR debugging API, that doesn’t seem to have this capability. At first glance, the ICorDebugProcess interface has the perfect method: EnumerateObjects. What could be better than that? Unfortunately, the documentation states that this method is not implemented… bummer. A while back I created a project CLR Explorer. This was supposed to be a tool to look at managed processes....