Session D310 – Writing Mobile Enterprise Applications Using the .NET Framework 2.0 and SQL Server 05 Mobile Edition
Probably the biggest title session of the day…
Sascha Corti is definitely a great speaker. He is fun, he knows how to speak and how to present things clearly with a lot of humor and a good rhythm.
He started his talk with the features included in the Messaging and Security feature pack among them, I could say S/MIME support, Gzip compression for emails and the possibility to push emails from the Exchange Server to the Pocket PC.
One of the major improvements in the Compact Framework 2.0 is that it is now possible to use the mobile devices such as the camera, the outlook agenda, and sending SMS or making calls. Before, it was a hassle to do these things. The new version now covers about 86% of the standard System.Xml namespace and 91% of the System.Data namespace. Moreover, there are fewer components to install afterwards than before. Controls, such as the web browser, have been added to the toolbox. With the previous version, to launch the web browser, P/Invoke calls were needed. To utilize the mobile devices, it is incredibly easy and most of the samples presented were about 10 lines of code to send SMS, catch or make a call and so on.
Following this introduction, Sascha made a demo of the publish/subscribe feature of the SQL Server 2005, publishing two tables on his laptop and subscribing to them with the SQL Server 2005 Mobile Edition. It was also amazing to see how Visual Studio 2005 can generate parent/child data bound controls without any intervention of the developer.
In the System.Xml namespace side, the serialization is now supported in the compact framework. But, using datasets in applications is not the best idea on Pocket PC. We can add a lot of memory in our PCs, but, mobile devices cans not go over 128MB of memory. That’s too bad ! That is where the SqlCeResultSet come in play. This is nothing but a brand new connected dataset only available in the compact framework. Its behavior and features are exactly the same as the Dataset. At the end of the presentation, he gave us a secret…….in the next version of the compact framework, WinFx will be included…..
Sascha Cortis's blog