Contents

 About the Author

 About the Technical Reviewer

 Acknowledgments

images Chapter 1: Introduction to Windows 8 Development

Windows App Framework

Development Choices

Creating the New York Times Best Sellers App

Introducing the MVVM Application Framework

What Is MVVM?

Advantages in Using MVVM

Setting Up the Development Environment

Creating the Model

Creating the ViewModel

Creating the View

Windows 8 Data Binding

Conclusion

images Chapter 2: HTML5 and JavaScript Apps with MVVM and Knockout

What Is Knockout?

Understanding Knockout

Creating the Pocket (Read It Later) App

Tools and Utilities

Getting Started

Setting Up KnockoutJS

Designing the App Start Page

Enabling Windows 8 Web Authentication

Getting Request Token

Exchanging Request Token for Access Token

Receiving the Access Token

Retrieving Bookmarks Using oAuth Credentials (Access Token)

Rendering Article List Using foreach Binding

Conclusion

images Chapter 3: Windows 8 Modern App Data Access Options

Data Storage Options

Application Data

File System

File Picker Contracts

IndexedDB

ESENT/JET API

SQLite

Remote Data

Windows Communication Framework

ASP.NET Web API

Windows Azure Mobile Web Services

Conclusion

images Chapter 4: Local Data Access: I: IndexedDB

What Is IndexedDB?

Using IndexedDB in Windows 8 Application

Creating the My Collections App

Getting Started

Defining the Schema

Creating the Database

Creating the Movie Object in Windows 8 JavaScript

Designing the App Start Page

Home.js

Designing the Movie Detail Page

MovieDetail.js

Searching for Movies

searchResult.js

Ideas for Improvement

Conclusion

images Chapter 5: Local Data Access I: JET API and Application Data

What Is ESENT/Jet API?

Why to Use ESENT/Jet API

Building Password Manager App

Setting Up the Development Environment

Creating a Database

Creating ESENT Data Repository

Using Application Data Storage

WinRT File Based Database

Designing App Start Page

Ideas for Improvement

Conclusion

images Chapter 6: Local Data Access III: SQLite

Introduction to SQLite

Integrating SQLite

Introduction to MVVM Light Toolkit

Building a Bill Reminder Windows 8 App

Project Structure

Creating Database Tables

Model

ViewModel

Views

Ideas for Improvement

Conclusion

images Chapter 7: ASP.NET Web API

Introduction to ASP.NET Web API

Why Should We Use Web API?

Building the Party Planner Windows 8 App

Getting Started

Creating Database Tables

Web API Controller

Add Controller

Add DataContext

Designing the App Start Page

Home.js

Retrieving the List of Parties

Designing the Page to Manage a Party

manageparty.js

Creating a New Party

Add Guest or Shopping Item

Ideas for Improvement

Conclusion

images Chapter 8: WCF Services

Business Apps for WinRT

Prism Overview

Getting Started with Prism

Building a Bill of Material Windows 8 App

Getting Started

Adding DataContext

Adding a Web Service

Consuming the WCF Service

Integrating Prism in the Windows 8 App

Designing the BOM App User Interface

ViewModel

BillOfMaterialPageViewModel

BillOfMaterialPageViewModel Commands

BillOfMaterialPageViewModel Properties

BillOfMaterialPageViewModel Events

BillOfMaterialPageViewModel Methods

ComponentViewModel

Conclusion

images Chapter 9: Windows Azure Mobile Services

Introduction to Windows Azure Mobile Services

Creating the Instashots App

Creating Windows Azure Mobile Services in the Management Portal

Creating Mobile Services Tables

Creating Windows Azure Storage

Setting Up the Development Environment

Designing Instashots User Interface

MainViewModel

MainViewModel Commands

MainViewModel Properties

Authentication with Live SDK

Retrieving the Photo Feed

Uploading Photos to Windows Azure Storage

Implementing Comments and Likes Functionality

Ideas for Improvement

Conclusion

images Chapter 10: Windows Phone 8 Data Access

Sharing the Code

Separate UI from App Logic

Sharing Portable .NET Code in Portable Class Library

Using Common Windows Runtime API (Add as Link)

SQL Server Compact for Windows Phone

Porting Bill Reminder Windows 8 App to Windows Phone

Setting Up the Windows Phone 8 Development Environment

Creating the Database Table

Creating the DataContext Class

Updating the Model

No Update to the ViewModel

Views

Other Data Storage Options

Conclusion

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.239.182