Windows-universal-samples Study Notes Series IV: Data

Source: Internet
Author: User

Data
Blobs Compression Content Indexer
Form Validation (HTML) IndexedDB Logging
Serializing and deserializing data X:bind X:deferloadstrategy
XML DOM XmlLite

Blobs Sample (JS only)

Compression Sample (compression, what is the difference from the previous one?) )

This is sample demonstrates how to read structured data from a file and write compressed data to a new file and what to read C ompressed data and write decompressed data to a new file.

Note   this sample is created using one of the Universal app templates available in Visual S Tudio. It shows how the IT solution is structured so it can run on both mobile and desktop windows 10. For more info on how to build a Windows Universal app, see Build a Windows Universal app.

Many apps need to compress and decompress data. The Windows.Storage.Compression namespace simplifies this task is providing a unified interface that exposes the Mszip, XPRESS, Xpress_huff, and lzms compression algorithms. This lets manage versions, service, and extend the exposed compression algorithms and frees-from responsibility fo R managing block sizes, compression parameters, and other details that the native compression API requires. A subset of Win32 and COM for apps can is used by apps to support scenarios not already covered by the Windows Runtime, HT Ml/cascading Style Sheets (CSS), or other supported languages or standards. For this purpose, you can also with the native Compression API to develop apps.

Content Indexer Sample (Add app files to index)

This is the sample shows how to add, update, and retrieve items and properties from the indexer. Methods of doing so is demonstrated. The first is using the Contentindexer APIs to directly interface with the indexer. The second is writing appcontent-ms files, which contain information to being indexed that the indexer would pick up once the File has been written.

Form Validation (HTML) sample (JS only)

IndexedDB Sample (JS only)

Logging Sample (log, but only in the client save?) )

This sample shows the Logging APIs in the Windows.Foundation.Diagnostics namespace, including Loggingchannel, L Oggingactivity, Loggingsession, and Fileloggingsession. These classes is designed for diagnostic logging within a modern application. These APIs were added in Windows 8.1. The Loggingchannel and Loggingactivity APIs have a been extended in Windows ten to support writing complex events using Trace Logging event encoding.

serializing and deserializing Data sample(serialization and deserialization, but can cross-platform?). such as iOS.)

X:bind Sample (binding at compile time)

This is the sample shows how to use the X:bind for data binding in XAML apps. X:bind is a new compile time binding mechanism for XAML in Windows Ten, which is faster and provides more developer FEEDBAC K in the form of compile errors and generated code that can inspected.

X:deferloadstrategy Sample (Lazy load attribute for XAML elements)

This sample shows how to reduce your app's startup time by deferring the creation of elements defined in your markup until You really need them.

XML DOM Sample (can dynamically load XML?)

This sample demonstrates common XML API with scenarios for the Windows.Data.Xml.Dom and WINDOWS.DATA.XML.XSL namespaces in The Windows Runtime.

XmlLite Sample (for C + + only)

This is the sample demonstrates how to use XmlLite Reader and Writer.

Windows-universal-samples Study Notes Series IV: Data

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.