Windows Runtime via C#

Delve inside the Windows Runtime - and learn best ways to design and build Windows Store apps. Guided by Jeffrey Richter, a recognized expert in Windows and .NET programming, along with principal Windows consultant Maarten van de Bospoort, you'll master essential concepts. And you'll gain...

Descripción completa

Detalles Bibliográficos
Autor principal: Richter, Jeffrey (-)
Otros Autores: Bospoort, Maarten van de
Formato: Libro electrónico
Idioma:Inglés
Publicado: Redmond, Washington : Microsoft Press [2013]
Edición:1st edition
Colección:Developer Reference
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629287106719
Tabla de Contenidos:
  • Intro
  • Windows Runtime via C#
  • Table of Contents
  • Dedication
  • Foreword
  • Introduction
  • Who should read this book
  • Assumptions
  • Who should not read this book
  • Organization of this book
  • Code samples
  • Acknowledgments
  • Errata &amp
  • book support
  • We want to hear from you
  • Stay in touch
  • I. Core concepts
  • 1. Windows Runtime primer
  • Windows Store app technology stacks
  • The Windows Runtime type system
  • Windows Runtime type-system projections
  • Calling asynchronous WinRT APIs from .NET code
  • Simplifying the calling of asynchronous methods
  • Cancellation and progress
  • WinRT deferrals
  • 2. App packaging and deployment
  • A Windows Store app's project files
  • The app's package manifest file
  • Package identity
  • Capabilities
  • App (not package) declarations (extensions/contracts)
  • Building a Windows Store app package
  • Contents of an .appx package file
  • Creating a bundle package file
  • Deploying a Windows Store package
  • Restricted deployments
  • Enterprise deployments
  • Windows Store deployments
  • Package staging and registration
  • Wintellect's Package Explorer desktop app
  • Debugging Windows Store apps
  • 3. Process model
  • App activation
  • Managing the process model
  • XAML page navigation
  • Process lifetime management
  • Windows Store app suspension
  • Windows Store app termination
  • How to best structure your app class' code
  • Debugging process lifetime management
  • II. Core Windows facilities
  • 4. Package data and roaming
  • Package data settings
  • Package data storage folders
  • Versioning package data
  • Roaming package data
  • Package data change notifications
  • 5. Storage files and folders
  • The WinRT storage object model
  • Package and user files
  • Accessing read-only package files
  • Accessing read-write package files
  • Accessing user files via explicit user consent.
  • File-type associations
  • Storage item properties
  • Accessing user files with implicit user consent
  • Performing file and folder queries
  • 6. Stream input and output
  • Simple file I/O
  • The streams object model
  • Interoperating between WinRT streams and .NET streams
  • Transferring byte buffers
  • Writing and reading primitive data types
  • Performing transacted write operations
  • Polite reader data access
  • Compressing and decompressing data
  • Encrypting and decrypting data
  • Populating a stream on demand
  • Searching over a stream's content
  • 7. Networking
  • Network information
  • Network isolation
  • Network connection profile information
  • How your app must use connectivity profile information
  • Network connectivity change notifications
  • Background transfer
  • Debugging background transfers
  • HttpClient: Client-side HTTP(S) communication
  • HttpBaseProtocolFilter
  • Windows Runtime sockets
  • Socket addressing
  • StreamSocket: Client-side TCP communication
  • StreamSocketListener: Server-side TCP communication
  • StreamWebSocket: Streaming client-side WebSocket communication
  • MessageWebSocket: Messaging client-side WebSocket communication
  • DatagramSocket: Peer-to-peer UDP communication
  • DatagramSocket: Multicast UDP communication
  • Encrypting data traversing the network with certificates
  • 8. Tile and toast notifications
  • Tiles and badges
  • Updating a tile when your app is in the foreground
  • Placing a badge on a tile
  • Animating a tile's contents
  • Updating a tile at a scheduled time
  • Updating a tile periodically
  • Secondary tiles
  • Toast notifications
  • Showing a toast notification at a scheduled time
  • Using the Wintellect Notification Extension Library
  • Windows Push Notification Service (WNS)
  • Registering your app and the user's PC with WNS
  • Send the channel URI to your app's web service.
  • Pushing a notification from your app's web service to the user's PC
  • 9. Background tasks
  • Background task architecture
  • Step 1: Implement your background task's code
  • Step 2: Decide what triggers your background task's code
  • Maintenance and time triggers
  • System triggers
  • Location triggers
  • Push notification triggers
  • Control channel triggers
  • Step 3: Add manifest declarations
  • Lock-screen apps
  • Step 4: Register your app's background tasks
  • Debugging background tasks
  • Background task resource quotas
  • Deploying a new version of your app
  • Background task progress and completion
  • Background task cancellation
  • 10. Sharing data between apps
  • Apps transfer data via a DataPackage
  • Sharing via the clipboard
  • Sharing via the Share charm
  • Implementing a share source app
  • Delayed rendering of shared content
  • Implementing a share target app
  • Implementing an extended (lengthy) share operation
  • Share target app quick links
  • Debugging share target apps
  • 11. Windows Store
  • Submitting a Windows Store app to the Windows Store
  • Submitting your app
  • Testing your app
  • Monitoring your app
  • Updating your app
  • The Windows Store commerce engine
  • The Windows Store commerce engine WinRT APIs
  • App trials and purchasing an app license
  • Purchasing durable in-app product licenses
  • Purchasing consumable in-app products
  • Purchasing consumable in-app product offers
  • A. App containers
  • B. About the authors
  • Index
  • About the Authors
  • Copyright.