Another book update for “Customizing the Common Language Runtime”

    A reader recently pointed out another error in my hosting book.  The error involves an API I used in the book that was cut before the final release went out. On pages 253-256 I describe a hosting API named IHostControl::GetDomainNeutralAssemblies.  The idea at the time was that this API could be used by…

0

The .Net Compact Framework Configuration Tool

The .Net Compact Framework 3.5 Power Toys include a new utility called the NetCF Configuration Tool. The Configuration Tool is a diagnostic tool.  You won’t typically use it in the course of everyday development, but it will come in handy for tasks like diagnosing failures related to device configuration and authoring configuration files. While the…

1

The CLR Profiler for the .Net Compact Framework Series Index

I’ve completed all that I had planned to write (at least for now) about how to use the CLRProfiler with NetCF.  Here’s a brief explanation and a link to each post the series: Part I, Getting Started. Describes how to install the profiler, launch an application, and begin collecting profiling data. Part II, Histograms and…

3

The CLRProfiler for the .Net Compact Framework, Part V: Controlling the profiler programmatically

If you’ve used the CLRProfiler for NetCF you’ve probably noticed that your application runs much slower when being profiled.  You likely have also seen the huge amount of data the profiler generates, even for relatively simple applications.  The time it takes the profiler to run coupled with the volume of data it creates can sometimes…

1

Promoting all .Net Compact Framework Applications on a device using device.config

By default, a managed device application is run with the version of the .Net Compact Framework it was built with.  Only if that version is not present on the device will we "promote" the application to run with the latest installed version.  This policy is considered safe and conservative because it isolates applications from unintended…

1

The CLRProfiler for the .Net Compact Framework, Part IV: The Call Tree View

This series of posts provides an introduction to using the CLRProfiler for the .Net Compact Framework.  In previous posts (part 1, part 2, and part 3) we’ve looked at various profiler features as we try to solve a performance problem with a sample application.  So far, we’ve learned that our performance problem is due to…

1

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