4.NET CF 2.0 Overview What is it? Why .NET CF? What’s Needed? What can you develop for?What’s New in CF 2.0?What’s Missing in CF 2.0?
5.NET CF - What is it? First made it’s debut in 2002/2003 Developed to bring the managed developer to the mobile spaceDeveloped to have the same namespaces as the full frameworkHas device specific classes and controlsWindows Mobile 5.0 API adds more classes
6Why .NET CF? If you are a .NET shop then why not? If you are an ISV, why not port your application to potentially 107million usersIf you are an enterprise, why not extend some highly used or mission critical desktop application
7What’s Needed?If you have developed for the desktop then you already know how to develop for a mobile deviceVisual Studio 2005 Standard Edition - Includes CF1.0 and CF2.0C# or VB.Net development experience. Can also use native C++SDKs – some available with VS2005 some available for downloadA real device to test onA consumer or enterprise focused idea!
9What’s new in CF2.0 Command line compile COM Interop Resource files same as the desktopVB My Objects (My.Resources, My.Webservices, My.Forms)System.Xml enhancements (XPath, XmlSerializer, Schema)Improved threadingSQL Mobile replaces SQL CE 2.0MSMQ now availableFramework 2.0 changesPartial ClassesGenericsAnonymous Methods
10What’s Missing in CF 2.0? My Objects My.ApplicationsMy.ComputerMy.UserMy.SettingsXml Schema validation is not supported because of sizeTimers – Start()/Stop() are not supportedRemoting is not supportedSockets – not everything is supportedReflection does not have Emit namespaceActivated/Deactivated events are not supported, can use GotFocus()/LostFocus() insteadVarious controls because not available on Windows Mobile
14Tour of VS2005 from a Mobile Perspective DEMOTour of VS2005 from a Mobile Perspective
15Data Access SQL Mobile System.Data.SqlServerCE used for SQLMobile SynchronizationStorage EngineQuery ProcessorSystem.Data.SqlServerCE used for SQLMobileSystem.Data.SqlClient used to access SQL Server from deviceTyped Datasets
16SQL Mobile and Integration with VS2005 DemoSQL Mobile and Integration with VS2005
18Tips and Tricks User interface Load data in background threads Landscape, portrait or square?VGA or not?Load data in background threadsDon’t use localhost when calling a webserviceSharing codeuse #definesCompile assemblies against the CFUse source control ‘share’ feature to share Xsd/Typed DatasetsMake sure not to call any device specific calls
19OpenNETCF SDF 2.0 Framework to extend the Compact Framework It’s Free!!Award winning software two years in a rowVisual Studio 2005 integrationDon’t have to re-invent the wheelSave countless hours in developmentNo comparable products out there in the same space