net compact framework l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
.Net Compact Framework PowerPoint Presentation
Download Presentation
.Net Compact Framework

Loading in 2 Seconds...

play fullscreen
1 / 32

.Net Compact Framework - PowerPoint PPT Presentation


  • 338 Views
  • Uploaded on

.Net Compact Framework. A Mostly Straight Path, but with Some Interesting Curves. Richard Kucia Kucia Associates 440-892-3838 rjkucia@att.net. 2003.09.09. Agenda. What is the .Net Compact Framework? Developing in a Compact World Inclusions and Exclusions Examples. What is the .Net CF?.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about '.Net Compact Framework' - jaden


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
net compact framework

.Net Compact Framework

A Mostly Straight Path, but with Some Interesting Curves

Richard Kucia

Kucia Associates

440-892-3838

rjkucia@att.net

2003.09.09

agenda
Agenda
  • What is the .Net Compact Framework?
  • Developing in a Compact World
  • Inclusions and Exclusions
  • Examples
what is the net cf
What is the .Net CF?
  • Target: Mobile Devices
  • The Same Framework – but “optimized”
  • Integrated into VS.Net 2003
  • Formerly: “Smart Device Extensions”
net cf design goals
.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
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
The Framework – “Optimized”
  • 20mb  1.5mb
  • 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

ADO.Net

Graphics

How Rich is the Working Environment?
net framework

System.Web

System.WinForms

Services

UI

Design

ComponentModel

Description

HtmlControls

Discovery

WebControls

System.Drawing

Protocols

Caching

Security

Drawing2D

Printing

Text

Configuration

SessionState

Imaging

System.Data

System.Xml

ADO.NET

SqlClient

XmlDocument

Serialization

Reader/Writers

Design

Xslt/XPath

System

Collections

IO

Configuration

Runtime

InteropServices

Security

Net

ServiceProcess

Remoting

Text

Reflection

Diagnostics

Serialization

Globalization

Resources

Threading

.NET Framework
net compact framework9
.NET Compact Framework

System.Web

System.WinForms

Services

UI

Design

ComponentModel

Description

HtmlControls

Discovery

WebControls

System.Drawing

Protocols

Caching

Security

Drawing2D

Printing

Text

Configuration

SessionState

Imaging

System.Data

System.Xml

ADO.NET

SqlClient

XmlDocument

Serialization

Reader/Writers

Design

SqlServerCe

Xslt/XPath

System

Collections

IO

Configuration

Runtime

InteropServices

Security

Net

ServiceProcess

Remoting

Text

Reflection

Diagnostics

Serialization

Globalization

Resources

Threading

agenda10
Agenda
  • What is the .Net Compact Framework?
  • Developing in a Compact World
  • Inclusions and Exclusions
  • Examples
developing in a compact world
Developing in a Compact World
  • VS.Net 2003 installation option
  • C#, VB.Net
  • True on-device debugging
    • If you can get it connected…
  • Emulator
  • Deployment
developing in a compact world vs net integration
Developing in a Compact World VS.NET Integration
  • Templates for devices in New Project dialog
    • Template sets device and project type
  • Template types
    • Pocket PC Application
    • Pocket PC Class Library
    • Pocket PC Control Library
    • Windows CE .NET Application
    • Mobile Phone Application
  • Default set of references that are appropriate for your platform
developing in a compact world overview of controls
Developing in a Compact WorldOverview of Controls
  • Use Windows Forms Designer
  • Drag-and-drop, property-based
  • Rich subset of desktop controls
    • User Interface controls
      • Data Entry
      • Display
    • Formatting & RAD controls
      • Organizational controls
      • Helper controls
developing in a compact world subset of desktop controls
Developing in a Compact WorldSubset of Desktop Controls

Helper

  • Context Menu
  • Scroll Bars
  • Image List
  • Main Menu
  • Open & Save File Dialogs
  • Timer
  • Tool Bar

Data Entry

  • Check Box
  • Combo Box
  • Command Button
  • Domain Up/Down
  • List Box
  • Numeric Up/Down
  • Radio Button
  • Text Box
  • Track Bar

Display

  • Label
  • Picture Box
  • Progress Bar
  • Status Bar

Organizational

  • List View
  • Panel
  • Tab Control
  • Tree View

Controls Not Supported

  • Checked List Box
  • Data Grid
  • DateTime Picker
  • Group Box
  • Month Calendar
  • Splitter
developing in a compact world customizing emulator settings
Developing in a Compact WorldCustomizing Emulator Settings
  • Fully Functional PocketPC 2002 OS Emulator
  • Options to change device configurations and connectivity
    • Resolution & Color Depth
    • Memory
    • COM & LPT ports!
developing in a compact world deployment
Developing in a Compact WorldDeployment
  • Same user experience as desktop
  • Compiles application for device
  • Output Window used for deployment messages
  • Visual Studio deploys the framework to device if needed
agenda17
Agenda
  • What is the .Net Compact Framework?
  • Developing in a Compact World
  • Inclusions and Exclusions
  • Examples
net compact framework what s different
.NET Compact FrameworkWhat’s Different?
  • Specific performance issues
    • XML
    • Form loading
    • SQL Server CE
  • Emphasis on File Size
  • Emphasis on Memory Footprint
net compact framework what s different19
.NET Compact FrameworkWhat’s Different?
  • Controls unimplemented
  • Control properties removed
  • Control properties unimplemented
  • Method overloads removed
  • No Console or Debug objects
  • No Serial Port support
net compact framework what s different20
.NET Compact FrameworkWhat’s Different?
  • Form-factor and GUI guideline issues
  • No MDI applications
  • No ActiveX controls in forms
  • Applications that don’t really close
  • Open/Save dialog for “\My Documents”
  • No file system (C:/?)
  • .resx file format
net compact framework what s different21
.NET Compact FrameworkWhat’s Different?
  • Can’t deploy to subdirectories
  • No Merge modules
  • “My Company” .cab files
  • No pre-compiling (NGen)
net compact framework what s different22
.NET Compact FrameworkWhat’s Different?
  • No designer for custom controls
  • No support for Pocket Access
  • No support for Pocket Office
  • Expensive licensing for SQL Server CE
net compact framework what s different23
.NET Compact FrameworkWhat’s Different?
  • Debugging: remarkable yet frustrating
  • Single-in, step-thru
  • Command
  • Watch
  • Breakpoint
  • No Console or Debug objects
  • No “set next instruction to execute”
net compact framework what s different24
.NET Compact FrameworkWhat’s Different?
  • Reflection Emit
  • Remoting
  • Serialization
  • Code Dom
  • Printing
  • COM Interoperability
  • Server side functionality
  • XPath/XSLT
agenda25
Agenda
  • What is the .Net Compact Framework?
  • Developing in a Compact World
  • Inclusions and Exclusions
  • Examples
for more information
For More Information…
  • MSDN Web site at
    • msdn.microsoft.com
how to resources simple step by step procedures
How-To ResourcesSimple, Step-By-Step Procedures
  • Embedded Development How-To Resources
  • General How-To Resources
  • integration How-To Resources
  • JScript .NET How-To Resources
  • .NET Development How-To Resources
  • office Development Resources
  • Security How-To Resources
  • Visual Basic® .NET How-To Resources
  • Visual C#® .NET How-To Resources
  • Visual Studio® .NET How-To Resources
  • Web Development How-To Resources (ASP, IIS, XML)
  • Web Services How-To Resources
  • Windows Development How-To Resources

http://msdn.microsoft.com/howto

msdn webcasts interactive live online event
MSDN WebcastsInteractive, Live Online Event
  • Interactive, Synchronous, Live Online Event
  • Discuss the Hottest Topics from Microsoft
  • Open and Free For The General Public
  • Takes Place Every Tuesdays

http://www.microsoft.com/usa/webcasts

ms press essential resources for developers
MS PressEssential Resources for Developers

Microsoft® Visual Studio® .NET is here!

This is your chance to start building the next big thing. Develop your .NET skills, increase your productivity with .NET Books from Microsoft Press®

www.microsoft.com/mspress

training training resources for developers
TrainingTraining Resources for Developers
  • Course Title: Developing Smart Device Applications with the .NET Compact Framework
    • Course Number: 2556
    • Availability: 9/2002
    • Detailed Syllabus: www.microsoft.com/traincert

To locate a training provider for this course, please access

www.microsoft.com/traincert

Microsoft Certified Technical Education Centers

are Microsoft’s premier partners for training services

specifications
Specifications

TRS Series Rotary with Planetary Gear

TLS Series Linear