Portable .NET

  • Thread starter Thread starter John A. Bailo
  • Start date Start date
John said:
How much of a transition is it to port a desktop .net smart client to
a PDA?

How long is a piece of string?

Seriously. Recently I ported a sockets application to the Compact
Framework and found that there were lots of useful parts of the
framework missing. I needed to do an MD5 hash, but there was no CF class
to do that (there is no security in the first version of the CF). The
code talked to a HTTP server, but I found that HttpWebRequest/Response
was deficient in how it handled headers and they did not handle chunked
encoding. There are lots of difference, many of them are methods where
there are no overloads, which are easy to overcome, but in other cases
the CF does not have equivalent classes to the desktop framework. (In
many cases I just used Reflector to get the C# for the missing code and
added them to my app <g>.)

You'll need to scan through the main classes/methods used in the desktop
app and look up in MSDN library to see if they are implemented in the
CF.

Richard
 
Back
Top