net compact framework
DESCRIPTION
.Net Compact Framework. .Net Compact Framework. Microsoft .Net is often referred as Plateform for web services But .net vision is more than web services It talks about how people use these things, being able to get their information at any time, any place, on any device - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/1.jpg)
.Net Compact Framework
![Page 2: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/2.jpg)
.Net Compact Framework
• Microsoft .Net is often referred as Plateform for web services
• But .net vision is more than web services– It talks about how people use these things, being able to
get their information at any time, any place, on any device• .Net compact framework is handheld devices
application development– Same development Env.– Same programming language– And class libraries which are subset of full libraries
![Page 3: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/3.jpg)
The Mobile Device Universe
Infrastructure Servers, e.g. Network Operators
ToolsXML Web Services
Clients
User Experiences &
Solutions
Authentication SMS Voice CallsSubscriber DBMMS Data CallsPersonalization Billing etc…
![Page 4: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/4.jpg)
.NET Application Models for Devices
codeweb pages
Visual Studio.NET
.NET Framework
Mobile Web Browser
.NET CompactFramework
Smart Clientapplications
webapplications
![Page 5: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/5.jpg)
Library Design Goals• Compatibility– Strict compatibility with .NET Framework– Subset functionality
• Subsetting for devices– Give the developer
a known target– Enable skills and
code transfer– Size/functionality• Reduce OEM cost• Provide critical mass
needed for “real apps”
.NET Compact Framework
.NET Framework
![Page 6: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/6.jpg)
.NET Compact Framework• Lightweight version of .NET Framework• Designed for resource-constrained devices• Compatible with VS.NET, C#, VB.NET• Runs applications securely on-device– High performance JIT compiler– Guarantees robustness and security– Highly interactive, offline, and networked experiences– Makes it easy to consume web services
• Tunable size and performance
![Page 7: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/7.jpg)
.NET CLR Common Features• Verifiable type safe execution– No uninitialized variables, unsafe casts, bad array
indexing, bad pointer math• Garbage Collection– No ref-counting, no leaks
• JIT compilation• Error handling with exceptions• Common type system– Call, inherit, and source-level debug across
different languages
![Page 8: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/8.jpg)
Windows Forms Support
• Layout– Manual positioning
• Drawing– Polygons, lines, arcs, ellipses, rectangles– JPEG, BMP images
• Text and images– TrueType bitmap fonts on Mobile
• Most desktop controls• Designer support
![Page 9: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/9.jpg)
Supported ControlsButtonCheckBoxComboBoxContextMenuDataGridDomainUpDownFileOpenDialog
•Supported controlsHScrollBarImageListLabelListBoxListViewFileSaveDialog
MainMenuNumericUpDownPanelPictureBoxProgressBarRadioButton
GroupBox RichTextBox NotificationBubblePrint Controls
StatusBarTabControlTextBoxTimerToolBarTreeViewVScrollBar
Unsupported controls
Unsupported controls – not available in CECheckedListBoxColorDialogErrorProvider
HelpProviderLinkLabelNotifyIcon
ToolTipSplitterFontDialog
![Page 10: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/10.jpg)
XML• XmlTextReader and XmlTextWriter– Forward-only parsers of XML data– Better performance, no in-memory caching– Low memory requirements
• XmlDocument– Parse entire document– In memory traversal– Higher memory requirements; more functionality
![Page 11: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/11.jpg)
ADO.NET Support• Handling data offline with DataSet• Communicating DataSet with XML• Common data model from server to PC to
device• Extensible ADO.NET provider model• Included data providers– SQL Server (System.Data.SqlClient)– SQL Server CE (System.Data.SqlServerCe)
![Page 12: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/12.jpg)
Web Services Support• Calling XML Web Services• All encoding types• Synchronous and asynchronous invocation• Basic and Digest authentication• Secure Sockets Layer support for encryption
(SSL)• Custom SOAP headers• SOAP Extension Framework
![Page 13: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/13.jpg)
![Page 14: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/14.jpg)
![Page 15: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/15.jpg)
![Page 16: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/16.jpg)
![Page 17: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/17.jpg)
![Page 18: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/18.jpg)
![Page 19: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/19.jpg)
![Page 20: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/20.jpg)
![Page 21: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/21.jpg)
![Page 22: Net Compact Framework](https://reader035.vdocuments.mx/reader035/viewer/2022062410/5681637c550346895dd45a31/html5/thumbnails/22.jpg)