.NET Compact Framework and SQL CE
Have you installed and started using Visual Studio .NET 2003? If not, if you have a Pocket PC you should run, not walk, to install VS.NET 2003.
VS.NET 2003 has, among many incremental improvements, a breakthrough: The ability to create and more importantly, debug, .NET Compact Framework applications. While it was certainly possible to create Pocket PC applications prior to VS.NET 2003, I do not know many people who have. I think there will be many people who will do so in the future. What is so great about developing with the .NET Compact Framework?
- The .NET Compact Framework is a reasonable subset of the full .NET Framework, making it possible to, with some care, create classes that can work on your desktop and your pocket PC.
- The VS.NET debugging environment is wonderful to work with. Even if you do not have a pocket PC, you can debug applications on the emulator.
- The .NET Compact Framework has a SQL CE data provider that works much like the SqlClient classes on the PC. It is not a perfect match, but it certainly can help limit the learning curve.
So, what's not to like?
- SQL CE does not allow use of Stored Procedures or Views. This makes it a little more difficult for me to reuse certain logic that I would normally place in a stored procedure.
- There are pretty severe limits to the power of the UI components. Want to change the color of the background on a drop down list? Not supported by the framework. Want an incremental search on a drop down list? Same thing.
- Certain operations (notably binding data) that are instantaneous on your PC will be lots slower on the Pocket PC.
The good news for me is that these lapses in what is possible and what the .NET Compact Framework provides means that there is room for an independent developer to cobble together class libraries to support what will be a growing number of .NET Compact Framework Developers.
What do you think?