« Eric Sink | Main | .NET cf versions »

November 03, 2003

.NET cf 2.0 resources

Joe Bork points towards some ppts form PDC about upcoming features in .NET Compact Framework 2.0.

Some selected items I pulled from the Widbey features and performance PPTs.

notification balloon control.

Drawing features
Save Bitmaps
Direct access to bitmap data
Image rotation
Pen styles widths

Framework libraries for Cryptography and Sound

Performance

What triggers a GC?
Memory allocation failure
750KB of GC objects allocated
Application going to background

Throw exceptions in exceptional circumstances
Do not use exceptions for normal flow control

Be aware of APIs that use reflection as a side effect (for example: Object.ToString() ) ( I do this a lot, what is better, String.Format()??)

XML Serialization
Use XmlTextReader and XmlTextWriter
XmlDocument builds a generic, untyped object model using a tree
Type stored as string
Use XmlConvert to convert each element to appropriate managed type for efficiency
e.g. Int32
Design XML schema first, then code
Use elements for objects and arrays
Use attributes for simple properties and fields

With the PDC behind us, Whidbey is public, as are a lot of details about the .NET Compact Framework 2.0 and the new Whidbey Smart Device development features.

As one of the testers on the Visual Studio for Devices team, I'm at least partially responsible for testing the following feature areas:

  • Data Designers (aka "You don't have to hand-code all your managed SQL CE apps now")
  • Setup and Deployment projects (aka "The 'Build CAB File' button on steroids)
  • consuming Web Services (aka "Add Web Reference," aka "You don't have to hand-edit typed DataSets")

Of course, there's some other stuff I test that's maybe not as interesting, but I'm pretty excited about the new data designer features, especially. Scott and Carlton (the Data PM and Dev, respectively) both gave some demos of these new features at the PDC. If you weren't there, you can at least check out the slides from some of the relevant talks:

If you have questions or feedback (espcially about the data-related features), email me at joebork@microsoft.com, or visit one of the mobility and embedded development newsgroups.

[Joe Bork]

Posted by mikel at November 3, 2003 10:59 AM

Comments

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?