More on NetCF performance

Andy mentioned today some things to consider that I didn’t know about. When considering load time of mobile applications here’s a couple of things to keep in mind:

  • The runtime validates the EXE by doing a hash. Each 1MB will therefore effectively add seconds to load time. Reducing the exe file size is thus a good thing.
  • So how to reduce exe file size? IL doesnt add much to the footprint but embedded resources does. So keep them bitmaps in separate files will ya.
  • Also, strong naming the exe forces the runtime to do additional validation without giving you a lot of security payback. Strong name only DLLs going into the GAC. 

And yes, those bitmaps I mentioned? Load them behind the scenes, off the main thread, e.g. using ThreadPool.QueueUserWorkItem

Share

On NetCF 2.0…

Version 2 have been out for a while and now the first service pack is out. One key enhancment is the Remote Performance Monitor tool which enable us to view live perf counters on your device. Counters will also be added in PerfMon …there is also a .stat file viewer in there.

More on that later, blogging on a PSP is not an ergonomic experience 😉

Share

First day at TechEd… going Silver

Wow, first day at pre-conference started off with a full immersion into the four major additions in .NET 3.0: Communication Foundation, Workflow Foundation, Presentation Foundation and CardSpace. Aaron Skonnard, Keith Brown and Ian Griffiths pulled it off nicely and really managed to give a good insight into these technologies in just about 5 hours.

A lot of notes and a headfull of thoughts later I just wanted to mention that the WCF and WF teams are now comming together to work on the next set of features code-named Silver. We will probably see stuff that people are plumbing themselves today, like tunneling WCF messages in and out of workflows.

Well, gotta go and digest some info. Meanwhile, I recommend visiting the Identity blog for some Internet identity problem-solving discussions.

Share