Andrew Arnott

News from my corner of the Visual Studio Project & Build team, programming tips, and solutions to common programming issues.

Posts
  • Andrew Arnott

    New job with Visual Studio Platform & Ecosystem

    • 0 Comments
    I have accepted a new position within Microsoft with the Visual Studio Platform & Ecosystem team.  Rather than working on the .NET Compact Framework I will be working on "VS10".  I don't actually make the transition for a few more...
  • Andrew Arnott

    XmlSerializer compatibility between NetCF and the desktop

    • 1 Comments
    The XmlSerializer found in the .NET Compact Framework has a very different implementation than the one found in the full .NET Framework.  The reasons for the differences include size and performance constraints that make the desktop's XmlSerializer...
  • Andrew Arnott

    Using the XmlSerializer as an XmlObjectSerializer with WCF

    • 3 Comments
    The Windows Communication Foundation introduced the new DataContractSerializer to replace the XmlSerializer in many scenarios.  The DataContractSerializer is faster than the XmlSerializer, but has certain limitations.  For example it does not...
  • Andrew Arnott

    An impressive Silverlight Slideshow control

    • 9 Comments
    I recently discovered a very impressive (and free) Silverlight slideshow control. I would recommend it over any Flash-based slideshow controls that I've seen so far (because this one's better--not just because I work here <g>) Here's a sample: Watch...
  • Andrew Arnott

    .NET Compact Framework 3.5 Power Toys RTW

    • 0 Comments
    The .NET Compact Framework 3.5 Power Toys have been released.  You can download them from here . Tools included in this package: Remote Performance Monitor and GC Heap Viewer – Provides real time counter data (ranging from Garbage Collector...
  • Andrew Arnott

    My favorite Live Writer plug-ins

    • 2 Comments
    Disclaimer: some or all of these plug-ins are not Microsoft created or endorsed, and my pose a security risk by installing them without verifying their source. Paste From Console - automatically formats and colorizes text copied from a console window...
  • Andrew Arnott

    Provisioning smart devices: an introduction

    • 1 Comments
    A lot of questions on the MSDN forums center around how to customize a device or an app to prefer a specific network connection over another.  The correct way to accomplish this is by "provisioning" the device.  In fact a great many...
  • Andrew Arnott

    Why .NET Compact Framework fails to call some HTTPS web servers

    • 39 Comments
    A bug was discovered recently in the .NET Compact Framework version 2.0 (SP2 and earlier) and 3.5 that causes HttpWebRequest's directed at some HTTPS servers to fail with this error: (for web services) System.Net.WebException: Unable to read data from...
  • Andrew Arnott

    Trying out the iPhone

    • 1 Comments
    So I had the opportunity to try out the iPhone for a day.  Overall I was impressed, but there were some very basic features missing from many of the otherwise killer apps that I would greatly miss if I was to use the iPhone as my primary PDA and...
  • Andrew Arnott

    Workaround for XmlSerializer T[] and List<T> bug

    • 0 Comments
    The XmlSerializer in NetCF 2.0 has a bug where if a single serialization requires reflecting into types that use a mixture of Collection<T>-like types for the same T the XmlSerializer will throw an exception.  Here an example where CF 2.0 would...
  • Andrew Arnott

    What do you think of the new WCF 'Store and forward' Mail Transport?

    • 7 Comments
    With the .NET Compact Framework 3.5 release which comes with Visual Studio 2008, a new Windows Communication Foundation transport is introduced that uses email as the communication mechanism. Others have already blogged about this new transport including...
  • Andrew Arnott

    Why wait for a Zune Phone? Smartphones are here now!

    • 2 Comments
    The iPhone was a hit, and people look to Microsoft to produce a ZunePhone in some future version of their Zune music player .  But I ask you, "Why?!"  What you may not be aware of is that Windows Smartphones already do everything that...
  • Andrew Arnott

    Calling WCF services from NetCF 3.5 using Compact WCF and NetCFSvcUtil.exe

    • 20 Comments
    The .NET Compact Framework 3.5 adds a subset of the Windows Communication Foundation (WCF or "Indigo") to smart devices, allowing them to communicate with desktop WCF components with all the flexibility of multiple, interchangeable service bindings and...
  • Andrew Arnott

    Power Toys for .NET Compact Framework 3.5 CTP released

    • 1 Comments
    The .NET Compact Framework team just released the Consumer Technology Preview (CTP) of the Power Toys for .NET Compact Framework 3.5. These Power Toys are tools to help you build, debug and optimizie your NetCF 3.5 applications. My personal favorite...
  • Andrew Arnott

    Where are the InfoCard sites?

    • 4 Comments
    InfoCard is the greatest invention since the web browser! In my opinion anyway. If you don't agree or you haven't heard of InfoCard, please read from the www.identityblog.com , and in particular the post on the Laws of Identity . It's really quite impressive...
  • Andrew Arnott

    How to find the focused ListBoxItem in WPF

    • 2 Comments
    One would expect that the WPF ListBox control would have some kind of FocusedIndex property to find out which item has the keyboard focus (and that dashed border around it) -- but it's not there. It seems the workaround requires a few lines of code, which...
  • Andrew Arnott

    Reflections on having multiple versions of NetCF on your device

    • 4 Comments
    The .NET Compact Framework has had several releases: V1 + 4 service packs, V2 + 2 service packs, V3.5 (to date just betas). Which of these are installed on your device? Can you have multiple versions installed simultaneously? Which version will run your NetCF app if multiple versions are installed? This post addresses all these questions....
  • Andrew Arnott

    The WCF subset supported by NetCF

    • 23 Comments
    Many people have been asking about what subset of .NET 3.0's Windows Communication Foundation (WCF) will be supported by the .NET Compact Framework 3.5. In this post I present a table with an outline of WCF features and what NetCF supports....
  • Andrew Arnott

    Gmail interface clone in 4 hours using WPF

    • 0 Comments
    I used Visual Studio 2008 Beta 2 to try WPF for very nearly the first time. I discuss how I managed to clone an interface I admire in four hours over on my JMPInline blog .
  • Andrew Arnott

    How to sort the console output of a hashtable in PowerShell

    • 7 Comments
    Hashtables are inherently unsorted, but when you're printing a hashtable's contents to the console, it can certainly be helpful to sort its contents by key. Although it's not obvious, the way to do it is pretty easy. Let's start with defining a hashtable...
  • Andrew Arnott

    Getting doskey macros to work in PowerShell

    • 2 Comments
    As much as I love to work with PowerShell, it was hard to give up the doskey macros I had defined for CMD.exe. But I just found out that doskey can work all its magic for PowerShell too, so here's the trick... Doskey defaults to working only with cmd...
  • Andrew Arnott

    How to (not) write an especially precarious app on .NET (Compact Framework)

    • 2 Comments
    As the .NET Compact Framework developers work to add features, fix bugs, and refactor code, we often have to determine whether a given change could break existing customer code. The ideal is that NetCF 3.5 will run all apps that ran on NetCF 2.0 and 1.0. We run hundreds of apps and many, many tests before shipping each product to check backward compatibility. The .NET Framework (both desktop and CF) makes heavy use of internal classes to allow us the freedom to change the internals of the framework without breaking customer code. But there are still ways that customers can write apps that may break on future versions. This post covers these topics....
  • Andrew Arnott

    Identity crisis

    • 0 Comments
    I now have three blogs that I post to: this one, JMPInline , and NetCFTeam . Which posts will I put where? I think I'll post everything software-related to both JMPInline and this one, then for those that specifically relate to NetCF I will post a link...
Page 2 of 2 (48 items) 12