Why do I get SocketExceptions on NetCF when setting some socket options?

I am frequently asked why NetCF applications encounter a SocketException when attempting to use some socket options, when applications written to the full .NET Framework do not.  The companion question is invariably “Is this a bug in NetCF?”. If the result is WSAENOPROTOOPT (10042), what we are seeing is limitations of the operating system –…

3

Debugging NetCF Applications using cordbg.exe – Part II

In Part I of NetCF debugging with cordbg, I showed you how to get the debugger connected to your process.  In this part, I’m going to talk a little about cordbg’s mode command. But before we get to that, I had a question from a reader as to why the “launch me debuggable” command line…

9

Debugging .NET Compact Framework applications using the .NET SDK command line debugger (cordbg.exe) – Part I

I’ve gotten a number of requests for instructions on how to use the .NET SDK’s command line debugger (cordbg.exe) to debug NetCF applications.  While you would think this should be pretty straight forward, there are a number of hoops to jump through. I intend this posting to be the first in a series on using…

9

“I don’t want to walk him… they’ll wave the chickens at me”

Yesterday, the SF Giants began selling rubber chickens decorated with the team colors and logo.  According to the article in the link below, fans are instructed to wave them at the first sign of an intentional walk.  With Barry Bonds on the team, I wonder if there’ll be an increase in the reported cases of…

1

Deserializing OR’ed flags without the XmlSerializer

Most applications need to save state from time to time.  On the full .NET Framework, this is quite easy, just use the XmlSerializer to serialize your state object.  On the .NET Compact Framework, there is no public XmlSerializer (at least, not for version 1).  What about using the XML DOM?  If you are saving only…

5

Increasing web service client performance

As the demand for web enabled smart devices grows, more and more mobile applications will be using web services.  Many of the folks who are already using web services with the .NET Compact Framework (NetCF) have come to me with performance issues.  More often than not, the problem boils down to what happens when NetCF…


Howdy folks

All logs need an introduction post, so…. here it is 🙂 I’ve been at Microsoft for a good long time (since 1991) and have been involved with a number of very cool products (Windows 95, Windows NT/2000, DirectX).  Prior to joining Microsoft, I attended the University of Washington (Go Dawgs!) and received a degree in…

1