1 / 22

.Net Compact Framework

.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

baina
Download Presentation

.Net Compact Framework

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. .Net Compact Framework

  2. .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

  3. The Mobile Device Universe Clients User Experiences & Solutions Tools XML Web Services Authentication SMS Voice CallsSubscriber DB MMS Data CallsPersonalization Billing etc… Infrastructure Servers, e.g. Network Operators

  4. .NET Application Models for Devices Visual Studio.NET .NET Framework code web pages webapplications Smart Clientapplications Mobile Web Browser .NET CompactFramework

  5. Library Design Goals • Compatibility • Strict compatibility with .NET Framework • Subset functionality • Subsetting for devices • Give the developer a known target • Enable skills andcode transfer • Size/functionality • Reduce OEM cost • Provide critical mass needed for “real apps” .NET Framework .NET Compact Framework

  6. .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

  7. .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

  8. 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

  9. Button CheckBox ComboBox ContextMenu DataGrid DomainUpDown FileOpenDialog Supported controls Supported Controls StatusBar TabControl TextBox Timer ToolBar TreeView VScrollBar HScrollBar ImageList Label ListBox ListView FileSaveDialog MainMenu NumericUpDown Panel PictureBox ProgressBar RadioButton • Unsupported controls GroupBox RichTextBox NotificationBubble Print Controls • Unsupported controls – not available in CE HelpProvider LinkLabel NotifyIcon ToolTip Splitter FontDialog CheckedListBox ColorDialog ErrorProvider

  10. 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

  11. 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)

  12. 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

More Related