WindDBG : load right extensions
In order to debug .NET applications, Microsoft provides a tool called WinDBG available in “Windows SDK”.
WinDBG is a native debugger and need additional extensions to work with .NET application. These extensions are different based on technology and .NET version (Silverlight / WPF / .NET 2.0 / .NET 4, etc.).
SOS
SOS.dll (Son Of Strike) is a DLL provided by .NET Framework and is available in folder :
C:\Windows\Microsoft.NET\Framework\
The DLL loading is slightly different if your application is a classic .NET 4 application or Silverlight application. Actually Silverlight uses only a subset of .NET Framework based on coreclr.dll and not clr.dll (mscorwks.dll for .NET 2.0). The extension module to load is not the same (clr for .NET 4 and coreclr for Silverlight).
Continue readingHow to use mouse wheel on Silverlight and Chrome when Windowless is enabled
In Silverlight, the mouse wheel works very well with every main browser (Internet Explorer, Firefox, Chrome, etc.) but not when Windowless is enabled. When this feature is enabled, NAPI based browsers like Chrome or Firefox don’t allow Silverlight to manage the mouse wheel. This article explains how to get the mouse wheel event using DOM.
This article is based on code published on Compiled Experience but I’ve added some modifications to consider elements inherited from ItemsControl.
Continue reading