文档介绍:.Net Compact Framework
A Mostly Straight Path, but with Some Interesting Curves
Richard Kucia
Kucia Associates
440-892-3838
******@
Agenda
What is the .Net Compact Framework?
Developing in a Compact World
Inclusions and Exclusions
Examples
What is the .Net CF?
Target: Mobile Devices
The Same Framework – but “optimized”
Integrated into 2003
Formerly: “Smart Device Extensions”
.NET CF Design Goals
Portable and small .NET CLR for devices
Enable Visual Basic® and C#
Leverage Visual Studio® .NET
Run managed .EXEs and .DLLs directly
Debug with Visual Studio .NET
Enable rich client Web Services and line of business applications on devices
Class libs for forms, drawing, storage, net, data access, XML
Peacefully co-exist with host OS
Run on native threads, P/Invoke to call native code
Target: Mobile Devices
Compaq, HP, Dell, Toshiba, …
PocketPC 2000, 2002
Windows Mobile (aka PPC 2003)
.Net CF in ROM!
Windows CE
SmartPhone
No Palm/Handspring
The Framework – “Optimized”
20mb
True subset – no breaking changes
Same languages, same code, same MSIL
Multiple target CPUs
How Rich is the Working Environment?
CLR
JIT
Garbage Collection
Type safety; exceptions
Threading
Windows OS (PInvoke)
SQL Server CE including replication
ActiveSync
Remote Viewer
Web Services
Sockets/Streams
Graphics
.NET Framework
System
Globalization
Text
Security
Collections
Resources
Reflection
Net
IO
Threading
Diagnostics
ServiceProcess
Configuration
Design
SqlClient
Xslt/XPath
XmlDocument
Runtime
InteropServices
Remoting
Serialization
Serialization
Configuration
SessionState
Caching
Security
Services
Description
Discovery
Protocols
UI
HtmlControls
WebControls
Imaging
Drawing2D
Text
Printing
Design
ComponentModel
Reader/Writers
.NET Compact Framework
System