ZDNet UK


Skip to Main Content

ZDNet.co.uk - Winner of Best Business Website 2007
  1. Home
  2. News
  3. Blogs
  4. Reviews
  5. Prices
  6. Resources
  7. Community
  8. My ZDNet

 

ZDNet UK RSS Feeds


Office applications Toolkit

What's .Net got for the mobile developer?

Lamont Adams Builder.com

Published: 29 Jan 2003 09:43 GMT

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

What didn't make the cut?
So what parts of the standard framework were left out? All things considered, the list of omissions isn't too terrifying. Most of the classes that were removed from the Compact edition were those that represented expensive processes in terms of memory consumption or processor usage. The chief differences you'll find are:

  • No ASP.Net -- Since most mobile device operating systems don't have integrated Web servers, the lack of any ASP.Net capabilities shouldn't come as a shock.
  • No Web services -- Although Compact apps can consume Web services, they can't provide them, largely due to the lack of a Web server, as with ASP.Net.
  • Scaled-down XML support -- Compact apps will have full support for reading and writing XML using the reader and writer classes, but they won't have support for XSLT or XPATH. These were simply too resource consumptive to include in the platform.
  • No typed datasets -- This is really an issue only if you have a Web service that returns data as a typed dataset, and you want your Compact app to consume it.
  • Assembly loading changes -- Compact apps will not be able to load an assembly into a domain-neutral space. This is an advanced technique that Microsoft felt most developers wouldn't miss in a mobile environment.

In addition to these items, Microsoft said it also trimmed down the size of the Compact Framework's class library by removing quite a few helper methods and classes that the designers felt were redundant.

What's still in there?
That leaves quite a bit of functionality still to be found in the Compact Framework. So much so, I think any .Net developer would be just as comfortable building apps for either version of the framework. Here are a few of the highlights:

  • Full ADO.Net support -- The Compact Framework includes a full-featured version of ADO.Net, with all the things you'd expect from its big brother: Bound data controls, full support for XML, and even a native SQL Server CE provider and support for upsizing and back-end transfers to an enterprise-class RDBMS.
  • Datagrids and Treeviews -- The lack of a datagrid control seriously hampered developers using Microsoft's previous entries into the mobile development arena. After receiving feedback from these folks and from beta testers, Microsoft added both controls to the standard set of GUI widgets such as text boxes, command buttons, and the like.
  • Full socket API support -- If your Compact app needs some Web server-like functionality, you can create it yourself. The Compact Framework includes the full library of socket programming objects found in the full version.
  • Built-in support for IR ports -- These ports are standard equipment on most PDAs, and the Compact Framework includes full support for sending and receiving data over them.

Should my app use the Compact Framework?
Like all development tools, the .Net Compact Framework has areas where it will be extremely useful -- and others where it won't. The chief drawbacks in my mind are the need to get the framework's runtime on the device in the first place and the fact that, at present, not all devices that support Windows CE will support the Compact Framework. Devices without display screens are currently particularly problematic.


For a weekly round-up of the enterprise IT news, sign up for the
Enterpise newsletter.

Find out what's where in the new Tech Update with our
Guided Tour.

Tell us what you think in the
Enterprise Mailroom.

Next

Previous

1 2


  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Did you find this article useful?
159 out of 314 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:












Featured Talkback

Why do so many (virtually all) software packages think that they are so important that they have to be started automatically every time the computer boots? What is the largest number of "speed access", "update check", "camera download" and whatever other background programs you have ever seen running? Of those, how many did you really need?

By: J.A. Watson

Read full story:
Annoying software: a rogues' gallery

Discussions

Jim Mader Jim Mader

Hotmail

Friday 29 August 2008, 12:28 AM

4 comments
da9938k da9938k

same thing happened to me!!

Thursday 28 August 2008, 11:20 PM

3 comments
da9938k da9938k

same thing happened to me!!

Thursday 28 August 2008, 11:20 PM

3 comments
da9938k da9938k

same thing happened to me!!

Thursday 28 August 2008, 11:20 PM

3 comments

Vista Upgrade Blog

Official MS Windows 7 Bloggers

Check this out: http://blogs.msdn.com/e7...spx Its an official blog "Engineering Windows 7" Nothing. That's what is revealed. Until there is real... More

5 comments

Microsoft's Mojave just a desert vista

It didn't seem fair to wade into Microsoft's “Mojave Experiment” advert quite so soon after the flat earth incident. But The Economist has no such qualms: in this week's issue, it wonders... More

6 comments

... But Still a Few Things Amiss (with...

It's not all roses with Vista, of course. I had my first BSOD over the weekend, when I was turning the laptop back on after suspending it. They typical long blurb about "If this is... More

6 comments