
David Goon Senior Consultant Microsoft Limited SQL Server 2005 Compact Edition Mobile Client Software Factory Microsoft Dynamics AX Mobile User Interface Configuration Synchronization RDBMS in a 1.4MB footprint In-process with Application Single SDF code-free file format 4GB storage limit Password Protection Data Encryption Multiple Connections Transacted Operations Common ADO.NET programming SQL Server 2000 Version 2.0 Windows CE Edition 2.0 Version 3.0 Version 3.? Version 3.1 Embedded Mobile/Desktop Scenarios Data Service Scenarios Server Device Scenarios Hardware Tablet, Laptop, Laptop, Tablet, Laptop, Tablet, Desktop Desktop Desktop Desktop SQL Server Enterprise SQL Server Compact SQL Server Standard Embedded desktop /mobile client to all the SQL Server SKUs SQL Server Workgroup SQL Server Express Remote Data Access Pull operation from table or stored procedure Tracking off - return results of SQL statement Tracking on - pull directly from a table Push Changes Back to Server System.Data.SqlServerCe.SqlCeRemoteDataAccess Merge Replication Initial snapshot from SQL Server 2005 Data can be modified on device and at server Changes reconciled on next synchronization More intensive as changes need to be tracked System.Data.SqlServerCe.SqlCeReplication HTTP/S Server Agent Storage Engine Client SQL Server Agent Provider David Goon Senior Consultant Microsoft Limited ADO.NET DataSets & Typed DataSets System.Data.SqlServerCe.SqlCeDataAdapter Resources to hold duplicate data in memory Avoid if possible ADO.NET DataReaders System.Data.SqlServerCe.SqlCeDataReader Better but forward-only read-only cursor ADO.NET Updatable Result Sets System.Data.SqlServerCe.SqlCeResultSet Preferred David Goon Senior Consultant Microsoft Limited Reusable libraries called Application Blocks Implemented using design patterns Guidance package Integrates with Visual Studio 2005 Documentation and recipes Code generation tools and templates Reference Implementation included Community supported http://www.codeplex.com/smartclient Orientation Aware User Interface Control Configuration Synchronization •Multi Orientation •Multi Resolution 3 Strategies to adapt display Design for Square Docking and anchoring Changing the layout entirely ...Practices.Mobile.UI.OrientationAware Integrated with the Visual Studio 2005 IDE Implemented as a User Control base class To support the CAB plug-in ability Each layout has its own resx file Can only add controls to the default layout David Goon Senior Consultant Microsoft Limited Orientation Aware Control Configuration Block Configuration App.Config Password Block Synchronization •Data Encryption •Key Encryption •Password Hashing Compact Framework No System.Configuration so no *.config Configuration Application Block Subset of desktop functionality Access to xml configuration files Read-only but able to read encrypted sections Encrypt settings with ConfigSectionEncrypt Custom section handlers to be written Microsoft.Practices.Mobile.Configuration Sections, Element Collections and Elements Tool provides example encryption Store tokens instead of passwords Secrets are stored with the user On login Generate a new token from credentials Compare with stored token Authenticated when tokens match Use to Protect User credentials Connection strings Encryption Keys Encrypted Configuration Configuration Encrypted Master Key Master Key User Credential Hash David Goon Senior Consultant Microsoft Limited Orientation Aware Control Configuration Block App.Config Password Block SubscriptionSynchronization Manager Progress Bar Encapsulates Merge Replication Moves data between SQL Server 2005 Compact Edition SQL Server on the backend Provides events to monitor progress TableDownloadStarted TableUploadStarted SyncProgress SyncCompleted David Goon Senior Consultant Microsoft Limited Composite UI Application Block Disconnected Service Agent Connection Monitor Data Access Mobile Updater Microsoft DynamicsTM ISV & Partner AX Mobile Sales Applications Microsoft DynamicsTM Mobile Development Tools <?xml version="1.0" encoding="utf-8" ?> <userRole text="RolePad"> <orchestrations> <orchestration text="RolePad" name="Sample App"> <tasklets> <tasklet name="CustomerListTasklet" type="CustomerListTasklet.CustomerListTasklet, CustomerListTasklet"> <outputMappings> <outputMapping propertyName="SelectedCustomer" stateKey="CustomerID"/> </outputMappings> <actions> <open text="Contact" tasklet="ContactTasklet"> <open text="Details" name="CustomerDetail" tasklet="CustomerDetailTasklet<inputMappings"> > <inputMappings> <inputMapping propertyName="CustomerId" <inputMapping propertyName="CustomerId" required="true" stateKeystateKey="CustomerID="CustomerID"/> "/> </inputMappings></inputMappings> </open> <open text="Contact"</open> tasklet="ContactTasklet"> <inputMappings> <inputMapping propertyName="CustomerId" stateKey="CustomerID"/> </inputMappings> </open> </actions> </tasklet> <tasklet name="CustomerDetail" type="CustomerDetailTasklet.CustomerDetailTasklet, CustomerDetailTasklet"> </tasklet> <tasklet name="ContactTasklet" type="ContactrTasklet.ContactTasklet, ContactTasklet"> </tasklet> </tasklets> </orchestration> </orchestrations> <tasklet name="ContactTasklet" </userRole> type="ContactTasklet.ContactTasklet, ConactTasklet"> </tasklet> Enterprise Architecture requires Scalable and secure data storage Proven design patterns Windows Mobile developers can leverage SQL Server 2005 Compact Edition Mobile Client Software Factory Microsoft Dynamics AX Mobile Integrate with Dynamics AX back-ends Development tools available to partners © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION..
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages31 Page
-
File Size-