Free Sample
+ Collection

.NET Compact Framework 3.5 Data Driven Applications

Edmund Tan

Build robust and feature-rich mobile data-driven applications with the help of real-world examples
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849690102
Paperback484 pages

About This Book

  • Develop data-driven mobile applications from the ground up on top of the Oracle Lite and SQL Server Lite databases
  • Build ergonomic User Interfaces targeting the mobile platform that you can easily adapt for your business applications
  • Optimize performance and security on the mobile platform as well as drawing useful charts and reports using .NET CF's graphics libraries for your data-driven applications
  • Utilize the various tools provided by Microsoft to maintain and fine-tune your enterprise applications with the help of realistic case studies
  • Build three real-world business applications from the ground up with the help of easy-to-understand code snippets to provide practical and hands-on experience

Who This Book Is For

This book is written for developers who are acquainted with the basics of .NET Compact Framework and want to create enterprise-level mobile applications. It is for developers who have worked with the .NET CF Framework before but would like to learn how to utilize its advanced features and deploy leaner and faster business applications.

Table of Contents

Chapter 1: CRMLive.NET: An Overview
Tomorrow Inc.
Deciding on the type of mobile application
Defining the mobile sales force application
Defining the mobile dashboard application
Defining the mobile support case application
Chapter 2: Building the Data Tier
Designing the data tier
Connecting the Windows Mobile emulator to ActiveSync
Setting up SQL Server Compact 3.5
Setting up Oracle Lite 10g
Building the data tier
Building the CRMLiveFramework project
Building the Plugin Manager UI
Building the database plugins
Chapter 3: Building the Mobile Sales Force Module
A brief walkthrough of what you will be building
Building a form navigation class
Building the main menu
Creating the business objects to encapsulate your DataSets
Building the AccountViewer form
Building the Tasks list
Handling file attachments
Custom formatting and display in list controls
Building the ProductList control
Building a paged listing of accounts
Chapter 4: Building Search Functionality
A brief walk-through of parameterized search
Building the parameterized search feature
A brief walk-through of full-text search
Building the full-text search feature
Chapter 5: Building Integrated Services
Sending SMS and e-mail from your application
Intercepting incoming SMS
Placing phone calls from your application
Detecting incoming phone calls
Populating the History tab in the sales force application
Synchronizing with Windows Mobile Contacts
Synchronizing with Windows Mobile Tasks
Sharing an account between two devices
Capturing handwritten input using the Smart Device Framework
Chapter 6: Data Synchronization
Overview of the different data synchronization methods available for Microsoft SQL Server CE
Overview of the different data synchronization methods available for Oracle Lite
A quick comparison between the various Synchronization frameworks
Using Microsoft Synchronization Services
Using Oracle Mobile Server
Synchronizing files with the server
Creating network-aware synchronization modules
Chapter 7: Optimizing for Performance
Measuring performance
Optimizing database performance
Optimizing data transfer performance
Managing better code
The .NET Compact Framework garbage collector
Chapter 8: Securing the Application
Encrypting the database
Authenticating the sales force application
Encrypting data for inter-device transmission using AES
Chapter 9: Globalization
Supporting double-byte languages
Designing culture-sensitive forms
Retrieving culture information
Chapter 10: Building the Dashboard
An overview of the dashboard
Creating the web service
Creating the dashboard smart client
Chapter 11: Building the Support Case System
Introduction to MSMQ and the support case system
Setting up MSMQ on your mobile device
Writing your first MSMQ application
Setting up MSMQ on your server
Sending a message from the server to a remote mobile device
Sending a message from the mobile device to the server
Chapter 12: Testing and Debugging
Overview of Power Toys for .NET CF 3.5
Using the Remote Performance Monitor and GC Heap Viewer tool
Using the CLR Profiler tool
Using the App Configuration tool
Using the ServiceModel Metadata tool
Using the Remote Logging Configuration tool
Using the Network Log Viewer tool
Chapter 13: Packaging and Deployment
Deploying your solution as a CAB file
Deploying your solution as an MSI file
Creating an automated update service

What You Will Learn

  • Build data-driven mobile applications using .NET CF 3.5 on top of the SQL Server Compact and Oracle Lite databases
  • Explore many advanced features of the platform such as GDI+, marshalling, and so on with the help of real-world case studies
  • Exploit the Smart Device Framework 2.3 (SDF) library to interface with various functions of the mobile device
  • Access device features such as telephony, SMS, email, Address book, Bluetooth, and Infrared technologies using .NET CF
  • Perform data synchronization on SQL Server Lite and Oracle Lite databases
  • Optimize application/database performance and resource utilization for your data-driven applications on .NET CF 3.5 through advanced memory management techniques
  • Take full advantage of the Power Toys for .NET Compact Framework 3.5 to streamline the development and testing processes of your mobile applications
  • Build and integrate powerful search functionality into your enterprise mobile applications
  • Get to know various design patterns that you can use in various real-world business application scenarios

In Detail

The new .NET CF 3.5 framework provides enterprise application developers with a whole arsenal of possibilities at their disposal, but without proper guidance on developing performance-critical enterprise applications, it is easy to make the wrong design and technology decisions.

This book guides you to build each part of a robust enterprise application by illustrating the .NET CF 3.5 framework with the help of real-world business applications. It will not only help you to master basic .NET CF skills, but also outlines the best methods, techniques, and tools available to create high-impact and performance-critical data-driven enterprise mobile applications. It provides a solid set of guidelines to aid .NET CF developers to understand how best to apply the features of the .NET CF 3.5 framework.

The bulk of the book illustrates the basic concepts of .NET Compact 3.5 Framework programming by walking the reader through 3 different kinds of mobile applications:

  • A thick-client mobile sales-force application
  • A thin-client mobile dashboard and reporting application
  • A customer support case management application

Both the SQL Server Lite and Oracle Lite mobile databases are covered in detail, from data access to data synchronization. The book explains how device features such as Bluetooth, SMS, telephony, Infrared, and Windows Contacts can be accessed via .NET CF in a real-world example, namely the mobile sales-force application. It also explains.NET CF's GDI+ features that can be used to create rich charts and reports. You learn to synchronize the mobile application with remote datasources and communicate via web services and WCF services. The book outlines performance optimization and memory management techniques on the mobile platform. It also outlines the tools and techniques available for testing, performance-tuning, deploying and debugging .NET CF enterprise applications (including Power Toys for .NET Compact Framework 3.5 from Microsoft).


Read More