PowerToys for the .Net Compact Framework version 3.5 now released!

We’ve just released the final 3.5 version of the PowerToys for NetCF to the web.  You’ll need to install the 3.5 NetCF runtime on your device to use these tools.  For now, you can get the correct runtime by installing Visual Studio 2008.  In a few weeks we hope to post a standalone install for…

6

The CLRProfler for the .Net Compact Framework, Part III: The Timeline View

In the first two parts of this series (part 1 and part 2) I described how to get started using the CLRProfiler and how to use the histograms and the "Show Who Allocated" view to see what types of objects you’re allocating and to determine where in your application the allocations are occurring. In this…

5

Calling the EnumServices Win32 API from your .Net Compact Framework Application

I was helping a customer use PInvoke to call EnumServices today and got stuck a few times so I thought it may be helpful to post the solution in case anyone else runs into this someday. EnumServices returns a buffer containing a number of structures of type ServiceEnumInfo that describe basic information about the services…

1

Great .Net Compact Framework Content at Oredev

Next week is the annual Øredev conference in Malmö, Sweden.  We’re very fortunate to have 3 detailed .Net Compact Framework sessions there.  Doug Boling will be doing sessions on performance and on how to enable GPS in your applications and I’ll be doing a session on how to use the .Net Compact Framework diagnostic tools…

1

What’s new in the Remote Performance Monitor for .Net Compact Framework 3.5

The Remote Performance Monitor (RPM) first shipped in version 2 service pack 1 of the .Net Compact Framework.  Since that time, numerous customers have come to depend on RPM to help them diagnose performance problems and find memory leaks in their applications.  With each release we add new features and fix bugs based on what…

6

The CLRProfiler for the .Net Compact Framework, Part II: Histograms and "Show who Allocated"

Yesterday I started a series of posts on how the use the CLRProfiler for the .Net Compact Framework.  The first post contained the basic information you need to get started.  I described how to install the profiler, launch an application on the device, and collect profiling data. In order to direct the discussion, I’ve written…

7

The CLRProfiler for the .Net Compact Framework, Part 1: Getting Started

 Version 3.5 of the .Net Compact Framework contains a new memory profiler called the CLRProfiler.  The CLRProfiler is a great tool for looking into the details of how your application is allocating and using managed objects.  For example, the profiler allows you to look at the contents of the GC heap at any point in…

13

Write your own GC Heap Viewer for the .Net Compact Framework

The last few versions of the Remote Performance Monitor enable you to view snapshots of the GC heap on demand.  The view of the heap presented by RPM is oriented around finding managed memory leaks.  Specifically, the data is organized so that it’s easy to see which GC root is responsible for keeping a given…

1

.Net Compact Framework: “Hey, what happened to the diagnostic tools?”

If you’ve installed the Beta2 version of Orcas you may have noticed that the NetCF diagnostic tools (RPM, CLRProfler, …) are missing.  Don’t worry, these haven’t been cut from Orcas, they will just be distributed via the web in a separate “power toys” pack.  A CTP of these tools is now available at: http://www.microsoft.com/downloads/details.aspx?familyid=C8174C14-A27D-4148-BF01-86C2E0953EAB&displaylang=en .  This CTP…

1

.Net Compact Framework Performance Webcast

Last week I did an MSDN webcast on writing high performing device applications using the .Net Compact Framework.  The webcast contains both in depth information on the internal workings of the Compact Framework and a set of tips and tricks for optimizing performance in everything from user interface to collections to networking.  Here’s the URL:…

1