Randomisation

When a 'z' just doesn't cut it... (Oren Nachman's random notes from Microsoft)

Browse by Tags

Tagged Content List
  • Blog Post: Silverlight Performance at TechEd Europe

    If you happen to be down at TechEd Europe this week, don't forget to come by the Windows Phone 7 and Silverlight booths (they're opposite each other in the Technical Learning Centre) and say hello. You'll get to play with some phones from HTC and interact directly with both teams - don't miss out! ...
  • Blog Post: Silverlight: Why do I get 0x8000ffff when using WriteableBitmap on an Element

    I'm working on a WP7 library which helps analyze your VisualTree and to provide a visual aid, I take WriteableBitmap snaps of the elements. Unfortunately I (seemingly) randomly encounter the following exception: A first chance exception of type 'System.Exception' occurred in System.Windows.dll...
  • Blog Post: WP7 Perf Tip #5: Check your memory usage

    Two for the price of one today! Take Aways: Make sure your memory usage is below 90MB . Always check your memory usage while you're developing your app (preferably on device) by using the following code: long deviceTotalMemory = (long)DeviceExtendedProperties.GetValue("DeviceTotalMemory...
  • Blog Post: WP7 Perf Tip #4: Use fully qualified paths when setting the source property

    File this one under "Sad, but True"... Take Away's: Always prefix your source paths with a "/" (full-qualified path) instead of simply using relative paths. Correct: <Image Source=" / Resources/Images/Background.jpg"> Incorrect: <Image Source="Resources/Images/Background.jpg...
  • Blog Post: WP7 Perf Tip #3: Read the performance document

    This is kind of obvious - but important. Read the White Paper which was written by the Silverlight performance team (mainly Shane Guillet) and browse through the samples that come with it. In these blog posts I'll try to distill specific items from the paper into blog format, but you can't replace the...
  • Blog Post: WP7 Perf Tip #2: Know your ProgressBar

    Take Away's: Do not use the built in ProgressBar straight up, use Jeff's template When you're done with an indeterminate ProgressBar, make sure to toggle IsIndeterminate to False and Collapse the bar General: Always make sure to stop animations / remove animating controls when they're no...
  • Blog Post: WP7 Perf Tip #1: Test on Device

    I'm kicking off a series of posts about Silverlight perfofmance under Windows Phone 7 with a a kind of obvious one, but one that is important to keep in mind from the get go. Tip: Test your code on device as much as possible But the Emulator is awesome?!? True, the emulator, otherwise...
  • Blog Post: BUG: Silverlight Crashes (Along With the Browser) When Profiled

    It's one of those bugs... If you've tried profiling Silverlight lately and you've run into a consistent crash in Silverlight which brings down the browser, but only on specific projects then this bug is for you. Basically, profiling any Silverlight app (plugin or OOB) that takes advantage of Shaders...
  • Blog Post: Debugging Silverlight in Firefox 3.6.4 (and newer)

    While they chug along to Firefox 4, Mozilla just released Firefox 3.6.4 (and quickly followed up with 3.6.6) on the world, sporting a new feature - plugin isolation. By isolating plugins to a different process, Firefox catches up to Chrome in stability, by ensuring that a rogue plugin that crashes does...
  • Blog Post: Profile Silverlight 4 from the VS 2010 UI (Premium & Ultimate only)

    Maxim has a great post detailing a workaround which allows you to get some profiling functionality from the Visual Studio 2010 UI, without restoring to the fun that is the command line profiler interface. Check it out .
Page 1 of 1 (10 items)