Book description
The primary goal of .NET Compact Framework is to bring the familiar experience of developing .NET applications for the desktop to the device world. Of the approximately six million Microsoft desktop developers in the world, it is estimated that perhaps two hundred thousand will turn their attention to the device world using the enabling technology of the .NET Compact Framework.To facilitate the goal of showing readers how to develop applications for the .NET Compact Framework, the book contains in-depth treatment in the following topic areas: Windows Forms and Threading, Network Programming, ADO.NET Dataset, XML Serialization, SQL CE, Web Services, and performance management. Each concept is accompanied with a sample application that illustrates its implementation on the .NET Compact Framework. For the convenience of the reader, each sample application will be offered in both C# and Visual BASIC. Developers can use this source code as a springboard for creating their own device side database applications.
Table of contents
- Copyright
- About the Authors
- Acknowledgments
- We Want to Hear from You!
- Introduction
- Setting Up Your Development Environment
- Introducing the .NET Compact Framework
-
Designing GUI Applications with Windows Forms
- Investigating Unsupported Controls in the .NET Compact Framework
- Investigating Unsupported System.Windows.Forms Functionality in the .NET Compact Framework
- Working with the Visual Studio .NET Form Designer
- Understanding the Different Windows Forms Target Platforms
- Working with the Form Control
- Programming the Button Control
- Using the TextBox Control
- Using the Label Control
- Working with RadioButton Controls
- Using the CheckBox Control
- Using the ComboBox Control
- Using the ListBox Control
- Using the NumericUpDown Control
- Using the DomainUpDown Control
- Programming the ProgressBar Control
- Using the StatusBar Control
- Using the TrackBar Control
- Using the ToolBar Control
- Adding Menus with the MainMenu Control
- Using a ContextMenu Control in an Application
- Using the Timer Control
- Using the OpenFileDialog and SaveFileDialog Controls
- Using the Panel Control
- Using the HScrollBar and VScrollBar Controls
- Using the ImageList Control
- Using the PictureBox Control
- Using the ListView Control
- Using the TabControl Control
- Using the TreeView Control
- Working with the DataGrid Control
- In Brief
-
Using Threads and Timers in the .NET Compact Framework
- Threads, Timers, and Windows CE
- The Thread Class
- Understanding Thread Basics
- Coordinating Threads with the Mutex Class
- Blocking until a Thread Finishes
- Controlling Access to Data Objects with the Monitor Class
- Managing Multiple Threads with a Thread Pool
- Timers
- Updating Variables with the Interlocked Class
- In Brief
-
Network Connectivity with the .NET Compact Framework
- Working with Sockets
- Socket Programming with the .NET Compact Framework
- Serializing Objects for Transmission through a Socket
- Using UDP Packets
- Multicasting with UDP Packets
- Communicating with Remote Servers through the HTTP Protocol
- Communicating with Remote Servers through the HTTPS Protocol
- Communicating through the Device IrDA Port
- In Brief
-
ADO.NET on the .NET Compact Framework
- Introducing ADO.NET on the .NET Compact Framework
- Caching Data with the DataSet
- Understanding Constraints
- Setting Up Autoincremented Fields
- Modeling Relational Data with the DataSet
- Creating Bindable Views of Data with a DataView
- Binding Data to a Control
- Comparing the Compact DataSet with the Desktop DataSet
- In Brief
-
Programming with Microsoft SQL Server CE
- Investigating the Features Supported by Microsoft SQL Server 2000 Windows CE Edition
- Creating a Microsoft SQL Server CE Database
- Adding Structure to a Microsoft SQL Server CE Database
- Populating a Microsoft SQL Server CE Database
- Retrieving Data by Using SqlCeDataReader
- Filling a DataSet by Using the SqlCeDataAdapter
- Updating the Microsoft SQL Server CE Database by Using the SqlCeDataAdapter
- Generating SqlCommand Objects with the SqlCeCommandBuilder
- In Brief
-
XML and the DataSet
- XML and the .NET Compact Framework DataSet
- Loading XML into a DataSet
- Saving a DataSet as XML
- Loading and Saving XML in a Sample Application
- Modeling Relational Data with XML Schemas
- Loading and Saving Schema Alone
- Writing a DataSet to XML without Schema Information
- Reading a DataSet from XML, Ignoring Schema Information
- Inferring Schema
- Using XML to Design a DataSet
- Saving and Loading DataSets as XML DiffGrams
- In Brief
- Using XML Web Services
-
Manipulating XML with the XmlTextReader and the XmlTextWriter
- XML Architecture Overview
- Working with the XmlTextReader
- Loading XML Data into an XmlTextReader
- Using the XmlTextReader's Namespaces Property
- Understanding the Normalization Property
- Controlling White-Space Interpretation with the WhitespaceHandling Property
- Using the XmlResolver Property
- Reading XML Nodes
- Reading XML Attributes
- Understanding How to Perform Full-Content Reads
- Skipping over Nodes
- Closing the XmlTextReader
- Working with the XmlTextWriter
- Creating the XmlTextWriter
- Manipulating Namespace Support
- Formatting the XmlTextWriter's Output
- Writing an XML Declaration
- Writing XML Elements
- Writing XML Attributes
- Writing xml:space and xml:lang Attributes
- Writing Element and Attribute Content
- Converting .NET Compact Framework Data Types through XmlConvert
- Writing Raw XML Markup
- Writing Other Nodes
- Writing Processing Instructions
- Writing White-Space Characters
- In Brief
-
Working with the XML Document Object Model
- Processing XML by Using the Document Object Model
- Differences from the Desktop .NET Framework
- Loading the XML DOM
- Navigating the XML DOM
- Accessing Text from Elements
- Accessing Markup from Nodes
- Accessing an Element's Attributes
- Accessing Other XmlNodes
- Searching an XML Document Node Tree
- Creating XmlNodes
- Creating XmlDeclarations
- Creating XmlElements
- Creating XmlAttributes
- Creating Other Node Types
- Inserting XmlNodes
- Using the AppendChild and PrependChild Methods
- Working with the InsertBefore and InsertAfter Methods
- Inserting XmlAttributes into an XmlDocument
- Replacing the XmlNodes within an XmlDocument
- Removing XmlNodes for an XmlDocument
- Removing XmlAttributes from their XmlElements
- Writing the XmlDocument
- In Brief
-
Interacting with Native Code
- Understanding When to Call Native Code
- Calling Native Code: Quick Start
- Marshalling the Fundamental Data Types
- Marshalling Simple Structures
- Passing Nested Structures by Using Custom Marshalling Code
- Calling the Windows CE Operating System
- Accessing COM Components from the .NET Compact Framework
- In Brief
- Exploring .NET Reflection
- Cryptography
- Measuring the Performance of a .NET Compact Framework Application
- Deploying a .NET Application
- Developing for the SmartPhone
Product information
- Title: Microsoft® .NET Compact Framework Kick Start
- Author(s):
- Release date: August 2003
- Publisher(s): Sams
- ISBN: 0672325705
You might also like
book
Microsoft® .NET Compact Framework (Core Reference)
The Microsoft® Windows® .NET Compact Framework brings the power of the .NET Framework to handheld devices …
book
Microsoft® .NET Kick Start
'Microsoft .NET Kick Start' answers the essential questions ¿What is .NET?¿ and ¿What can .NET do …
book
Programming .NET Compact Framework 3.5 Second Edition
"If you're interested in developing for this burgeoning platform, there is no one better able to …
book
Professional C# 5.0 and .NET 4.5.1
Comprehensive, advanced coverage of C# 5.0 and .NET 4.5.1 Whether you're a C# guru or transitioning …