Browse by Tags
All Tags »
Silverlight (
RSS)
During the last few weeks I have been involved in a very interesting project with lots of potential, using Windows Azure Media Services . In a nutshell, Windows Azure Media Services supports encoding, management, and streaming of media from Windows Azure, in a completely hosted solution. The client requested a proof-of-concept end-to-end solution that involves uploading existing media assets to Windows Azure, encoding them to smooth streaming formats, and delivering them to an audience using Windows...
[Also see the first part – the keynote by Steven Sinofsky .] The second part of the keynote was delivered by Scott Guthrie, Corporate Vice President, Developer Division, Microsoft Corp. Scott started talking about Silverlight 3 and its new features that shipped several months. Specifically, Scott discussed the SketchFlow tool for quick UI prototyping. He also mentioned the success of Silverlight – it’s being used on more and more sites around the world, as well as in demanding enterprise environments...
The second keynote started with Steven Sinofsky, President, Windows and Windows Live Division, Microsoft Corp. Steven is talking about the development process of Windows 7 and what it means to develop for Windows 7. He’s also going to say a few words about what we’re going to see going forward. In the Windows 7 engineering process, Steven emphasized the new innovative features and said that they’ve learned that they need to balance the new features with fundamental improvements to the system, exactly...
In this entry, we will examine the last two interesting new commands bundled in the Silverlight SOS.DLL – namely !FindRoots and !ListNearObj . (Previously in this series: Basic introduction to Silverlight SOS ; The !AnalyzeOOM command ; The !HeapStat and !GCWhere commands .) The !FindRoots command is specifically oriented at understanding memory leaks and object promotion scenarios. It is a wrapper on top of existing functionality, making analysis more convenient. The key scenario to...
Another SOS.DLL command new in Silverlight is !HeapStat , featuring statistics on the sizes and available space in the various GC heaps and generations. (Previously in this series: Basic steps with Silverlight SOS ; The !AnalyzeOOM command .) Because Silverlight applications run within a browser, there’s typically going to be a single GC heap because the browser’s CLR host uses workstation GC. However, generations and the large object heap (LOH) are still of interest. The following is...
In the conclusion of my previous post on the Silverlight SOS.DLL , I’ve mentioned that some new commands (not present in the desktop CLR version) have been added. The first command we’ll talk about is !AnalyzeOOM , which (as its name implies) analyzes an out of memory condition and explains what went wrong. There are various reasons for out of memory exceptions, and this command can help you to pinpoint exactly what went wrong. I’ve written a simple Silverlight application that allocates 1MB...
I’ve written about SOS.DLL before – it is the ultimate Swiss-army knife for debugging managed applications. Memory leaks, unexpected crashes, high-CPU scenarios, hangs and deadlocks can all be pinpointed using SOS. Silverlight 2.0 offers a model for managed code execution inside the browser, and that managed code will require the same debugging capabilities needed for standard managed applications. The Silverlight CLR ( coreclr.dll ) is a subset of the desktop CLR, but fortunately it...