C# or eVC++ ?

B

Brian Abbott

Hi

I'm new to PPC development. I have a app that I wish to develop for PPC2002
and later devices. I started off thinking that C# was the way to go, but
doing some research has made me have some doubts. The areas of particular
concern are:

- The app will connect to a web service and pass back a data set that
includes a digitised signature, say 3k in size. AIUI, .Net CF SOAP doesn't
support attachments so I need to Base64 encode the sig and include that in
the XML payload. BUT I have read that .Net CF is very slow in Base64
encoding, to the point of being perhaps unusable?

- In the future I might want to have the PDA act as a SOAP Web Server. I
know .Net CF won't do this ATM - will it in the next version?

Any comments on the above 2 points would be appreciated.

Cheers

Brian Abbott
 
J

Jon Skeet [C# MVP]

Brian Abbott said:
I'm new to PPC development. I have a app that I wish to develop for PPC2002
and later devices. I started off thinking that C# was the way to go, but
doing some research has made me have some doubts. The areas of particular
concern are:

- The app will connect to a web service and pass back a data set that
includes a digitised signature, say 3k in size. AIUI, .Net CF SOAP doesn't
support attachments so I need to Base64 encode the sig and include that in
the XML payload. BUT I have read that .Net CF is very slow in Base64
encoding, to the point of being perhaps unusable?

I haven't spotted any problems with its Base64 encoding implementation,
but if there were any, it wouldn't be hard to write your own base 64
routines.
 
C

Chris Tacke, eMVP

I don't think base-64 will be a problem.

I can't imagine that we'll see web service hosting any time soon on the PPC.
You can always write one or find a 3rd party one, but it's not there now for
either environment, and I doubt they will be in v. next.

-Chris
 
B

Brian Abbott

Interesting link, thanks very much.

Razvan Dragomirescu said:
You might want to take a look at this:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/NETCFMA.asp

It's a WebServer written in C# for the .NET Compact Framework and it does
have a SOAP module (they have a sample Web Service running on it). The code
is pretty clean, although it still has some quirks.

Razvan

--
Razvan Dragomirescu
Chief Technology Officer
SIMEDA GmbH
www.simeda.com

that
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top