Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Phone 7.5 Data Cookbook

You're reading from   Windows Phone 7.5 Data Cookbook Over 30 recipes for storing, managing, and manipulating data in Windows Phone 7.5 Mango applications.

Arrow left icon
Product type Paperback
Published in Oct 2011
Publisher Packt
ISBN-13 9781849691222
Length 224 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ramesh Thalli Ramesh Thalli
Author Profile Icon Ramesh Thalli
Ramesh Thalli
Arrow right icon
View More author details
Toc

Index

A

  • Add method / Introduction
  • Add_Click method / How to do it...
  • ADO.NET Entity Framework
    • working / How it works...
  • API (application programming interface) / SQLite Client as an embedded database
  • App.xaml.cs file / How to do it..., How to do it..., How to do it...
  • App class / How to do it...
  • ApplicationBar / How it works...
  • ApplicationSettings object / How to do it...
  • ApplicationStartup event handler / How it works...
  • AssociationAttribute / How it works...
  • AtomPub
    • about / Introduction

B

  • back-end data service layer / See also
  • background image
    • saving, to local storage / Saving a background image to local storage, How to do it...
  • Binding properties / Introduction
  • btnSaveToFile / How to do it...
  • btnSaveToFile_Click / How to do it...
  • button1_Click event method / How to do it...
  • ButtonAdd_Click method / How to do it..., How to do it...
  • ButtonFolder_Click method / How to do it...

C

  • CH1_MyTasks template / How to do it...
  • Ch1_Recipe4_Mode / Getting ready
  • Ch1_Recipe template / Getting ready
  • CLR Object / Introduction
  • Codeplex site
    • URL / See also
  • ColumnAttribute / How it works...
  • Community.CsharpSqlite.WP solution / How it works...
  • Contains method / Introduction
  • ContentPanel grid / How to do it..., How to do it...
  • content types
    • XML / Introduction
    • RSS / Introduction
    • ATOM / Introduction
    • JSON / Introduction
    • XHTML / Introduction
  • Context class / How it works..., CRUD operations with OData
  • Converters / Introduction
  • CreateCommand / How it works...
  • CreateDatabase() method / Creating and deleting data in SQL CE using LINQ to SQL
  • CreateDirectory method / Introduction
  • CreateFile method / Introduction
  • CRUD operation, with OData / CRUD operations with OData, How to do it..., How it works...

D

  • data
    • converting, for display / Converting data for display, How to do it..., How it works...
    • creating, in SQL CE / Creating and deleting data in SQL CE using LINQ to SQL
  • data binding
    • about / Introduction
    • element binding / Element binding
    • DataContext / DataContext
    • project, exporting as template / How to export the project as a template
    • Data Template / Data Templates
    • Data Mode property, using / How DataMode is used
    • data, converting for display / Converting data for display
    • simple app, building / Building a simple app, How to do it...
  • databound element
    • linking to property, DataContext used / DataContext, How to do it…
  • DataClass / How to do it..., How to do it...
  • DataClass.cs / Parsing XML using the XmlReader class
  • DataContext / Introduction, Creating and deleting data in SQL CE using LINQ to SQL
    • using / DataContext, How to do it…
    • working / How it works...
  • DataContext class / There's more...
  • DataContext object / How it works...
  • DataContractJsonSerializer / There's more...
  • Data Mode
    • using / How DataMode is used
    • OneTime mode / How DataMode is used
    • TwoWay mode / How DataMode is used
    • working / How it works...
  • DataMode / Introduction
  • DataServiceCollection / How it works...
  • DataServiceCollection<T> class / Introduction
  • DataServiceContext class / Introduction, CRUD operations with OData
  • DataSvcUtil
    • about / Introduction
    • used, for generating proxy class / How to do it..., How it works...
  • Data Template
    • using, in listbox control / Data Templates, How to do it...
    • working / How it works...
    • reference link / There's more...
  • DateCreated field / How to do it...
  • DateDue / How to do it...
  • DateFormatter / How to do it..., How it works...
  • DateTime property / How to do it...
  • DBHelper.cs file / How to do it...
  • DBHelper class / How it works...
  • Default.cshtml / How to do it...
  • DeleteDirectory method / Introduction
  • DeleteFile method / Introduction
  • DeleteOnSumbit method / Creating and deleting data in SQL CE using LINQ to SQL
  • DeleteRecords method / Creating and deleting data in SQL CE using LINQ to SQL
  • Descendants method / How it works...
  • DirectoryExists method / Introduction
  • Dispose() method / How it works...
  • DownloadStringAsync method / How to do it…, How to do it...
  • DownloadStringCompleted event handler / How to do it...
  • DownloadStringCompleted event method / How to do it...

E

  • element binding
    • creating / Element binding, Getting ready, How to do it...
    • working / How it works...
  • Entity Framework (EF) / SQL CE as a local store
    • about / Introduction
  • EventHandler / How to do it...
  • ExecuteNonQuery function / How it works...
  • ExecuteQuery function / How it works...
  • ExecuteScalar function / How it works...
  • expand parameter / Different parameters supported by Netflix OData
  • Extension function / How to do it...
  • Extensions class / How it works...

F

  • $filter
    • OData service, searching with / Searching OData services, How to do it..., How it works...
  • File / Introduction
  • file
    • opening, from local file storage / Opening and creating a file, How to do it..., How it works...
  • FileExists method / Introduction
  • format parameter / Different parameters supported by Netflix OData
  • front-end / How it works...
  • FunctionAttribute / How it works...

G

  • GalaSoft.MvvmLight.Extras.WP7 / How to do it...
  • GalaSoft.MvvmLight.WP7 / How to do it...
  • GetLink / How to do it...
  • GetMyTaskList methods / How to do it...
  • get property / How to do it...
  • GetServiceInfoAsync method / How to do it...
  • GetServiceInfoCompleted event / How to do it...
  • GetServiceInfo function / How to do it...
  • GetTaskAsync method / How to do it...
  • GetTask function / How to do it...
  • GetTask method / There's more...

H

  • HTTP
    • about / Introduction, Introduction
  • HTTP Verb / CRUD operations with OData
  • HttpWebRequest class / Introduction
  • HyperlinkButton / How to do it...

I

  • IIS (Internet Information Services) root folder / Getting ready
  • Images / How to do it...
  • IMyTaskService.cs file / How to do it...
  • InitializePerstStorage method / How it works...
  • inlinecount parameter / Different parameters supported by Netflix OData
  • INotifyPropertyChanged / How to do it...
  • INotifyPropertyChanged class / How to do it...
  • InsertOnSubmit method / Creating and deleting data in SQL CE using LINQ to SQL
  • insert SQL statement / How it works...
  • insert statements / How to do it...
  • IntializeList method / How to do it...
  • IsDataLoaded / How to do it...
  • ISETool
    • about / There's more...
  • IsFlatList property / How it works...
  • ISimpleService.cs file / How to do it...
  • isolated storage
    • about / Introduction
    • user settings, saving / Saving user settings
    • file, opening / Opening and creating a file, How to do it..., How it works...
    • file, creating / Opening and creating a file, How to do it..., How it works...
    • username and password, saving to local store / Saving username and password to a local store, How to do it..., How it works...
    • background image, saving to local storage / Saving a background image to local storage, How to do it...
  • IsolatedStorageFile class / Introduction
  • IsolatedStorageFileStream / Introduction
  • IsolatedStorageSettings class / Introduction
  • ItemsSource / How to do it...
  • IValueConverter / How to do it...

J

  • JSON
    • about / Introduction
  • JSON (Java Script Object Notation) / There's more..., Building a simple REST service

L

  • LINQPad
    • about / OData Explorer
  • LINQ queries
    • about / Introduction
  • LINQ to SQL
    • used, for deleting data / Creating and deleting data in SQL CE using LINQ to SQL
    • used, for creating data / Creating and deleting data in SQL CE using LINQ to SQL
    • used, for creating service / Using LINQ to SQL for creating the service, How to do it...
    • about / Using LINQ to SQL for creating the service
    • features / Using LINQ to SQL for creating the service
    • working / How it works...
    • TableAttribute / How it works...
    • ColumnAttribute / How it works...
    • AssociationAttribute / How it works...
    • FunctionAttribute / How it works...
  • LINQ to XML
    • about / Introduction
  • listbox control
    • Data Template, using / Data Templates, How to do it...
  • LoadAsync method / How it works..., How to do it...
  • LoadData method / How to do it...
  • LoadXmlFromLocalStorage() method / How to do it...
  • LongListSelector / How it works...

M

  • MainPage.xaml.cs file / Multiple Views with the same ViewModel
  • MainPage class / How it works...
  • MainPage constructor / How to do it...
  • MainPage_Loaded event method / How to do it..., Parsing XML using the XmlReader class
  • MainPage_Loaded method / How to do it..., How it works...
  • MainViewModel.cs file / How it works..., Multiple Views with the same ViewModel
  • Main_Loaded event / How to do it...
  • McObject
    • URL / There's more...
  • McObject's Perst
    • about / Introduction
  • McObject Perst
    • using, as embedded database / McObject Perst as an embedded object database, How to do it...
  • Microsoft SQL CE
    • about / Introduction
  • MouseLeftButtonDown event property / How to do it...
  • MouseLeftButtonDown_1 event / Multiple Views with the same ViewModel
  • MSDN / See also
    • URL / See also
  • MSDN address
    • about / There's more...
  • MSDN article
    • URL / There's more...
  • MVC
    • about / Introduction
  • MVVM / Introduction
    • about / Introduction
    • View / Introduction
    • ViewModel / Introduction
    • Model / Introduction
    • diagrammatic representation / Introduction
    • Commanding feature / See also
  • MVVM application
    • creating / Simple MVVM application, How to do it..., How it works...
    • project template, using / How to use the project template
    • updating / Updating the MVVM application, Getting ready, How to do it..., How it works...
  • MvvmLight (WP7) template
    • about / Getting ready
    • used, for creating application / How to do it...
    • working / How it works...
  • MVVM Light Toolkit
    • about / Using MVVM Light Toolkit
    • downloading / Getting ready
    • download link / Getting ready
    • implementing / How to do it..., How it works...
  • MyDatabase / How it works...
  • MyDatabase.sqlite file / How to do it...
  • MyDataContext class / Creating and deleting data in SQL CE using LINQ to SQL
  • MyLib.cshtml / How to do it...
  • MyLib.GetLink method / How to do it...
  • mylinkservice.cshtml / How to do it...
  • MyTask.designer.cs file / How it works...
  • MyTask.edmx file / How to do it...
  • MyTaskDB.dbs / How it works...
  • MyTaskItems / Creating and deleting data in SQL CE using LINQ to SQL
  • MyTaskItemViewModel.cs class / How it works...
  • MyTaskItemViewModel class / How to do it...
  • MyTaskModel / How to do it...
  • MyTasks.cs class / How to do it...
  • mytasks.sdf database / How to do it...
  • MyTasks App / Building a simple app
  • MyTasks app / How it works...
    • SQLite, using as local store / Using SQLite as a local store for the MyTasks App, How to do it...
  • MyTask service
    • building, LINQ to SQL used / Using LINQ to SQL for creating the service, How to do it...
  • MyTaskService.svc.cs file / How to do it...
  • MyTasks Service
    • creating / Building a service layer using WCF
  • MyTasks table / How to do it...
  • MyTaskViewModel.cs class / How it works...

N

  • NavigationService class / How to do it...
  • Neflix
    • parameters / Getting ready
    • filter operators / Getting ready
    • filter functions / Getting ready
  • Netflix API reference
    • used, for creating proxy class / Using Reference to create the proxy class
  • NetflixCatalog method / How to do it...
  • NetflixModel.cs file / How to do it...
  • NetflixModel class / How to do it...
  • Netflix OData
    • parameter support / Different parameters supported by Netflix OData
  • Netflix OData, parameters
    • format / Different parameters supported by Netflix OData
    • top/skip / Different parameters supported by Netflix OData
    • orderby / Different parameters supported by Netflix OData
    • expand / Different parameters supported by Netflix OData
    • inlinecount / Different parameters supported by Netflix OData
    • select / Different parameters supported by Netflix OData
  • Notes text block / How to do it...
  • NotfiyPropertyChanged method / How it works...
  • Notification / Introduction
  • NotifyPropertyChanged / How to do it...
  • NotifyPropertyChanged method / How to do it...

O

  • ObeservableCollection / How to do it...
  • ObeservableCollection class / How it works...
  • object serialization, XML
    • about / Object serialization to XML, How to do it...
  • ObservableCollection property / How to do it...
  • ODATA / Introduction
  • OData
    • about / Introduction
    • features, supported by Windows Phone 7.1 SDK / Introduction
    • CRUD operations / CRUD operations with OData, How to do it..., How it works...
  • OData (Open Data Protocol)
    • about / Introduction
  • OData Client Library
    • about / Introduction
  • OData Explorer
    • about / OData Explorer
    • by Microsoft / OData Explorer
  • OData Explorer, by Microsoft
    • about / OData Explorer
  • OData service
    • consuming / Getting ready, How to do it..., How it works...
    • searching, $filter used / Searching OData services, How to do it..., How it works...
  • OneWay mode, Data Mode / How DataMode is used
  • OnSelect event method / How to do it...
  • OpenFile method / Introduction
  • OpenReadAsync / How to do it...
  • orderby parameter / Different parameters supported by Netflix OData

P

  • parseXMLUsingLinq method / How to do it...
  • partial XML feed / Getting ready
  • passedXmlFileName parameter / How to do it...
  • Persistent class / How it works...
  • Perst.NET
    • downloading / Getting ready
  • Perst Database
    • using / How to do it...
  • PerstWP7 project / Getting ready
  • Phone 7 Project
    • creating / Getting ready
  • Phone 7 Toolkit
    • AutoCompleteBox / Getting ready
    • ContextMenu / Getting ready
    • DateTimePickers / Getting ready
    • ListPicker / Getting ready
    • LongListSelector / Getting ready
    • ProgressBar / Getting ready
    • installing / Getting ready
  • PhotoChooserTask / How to do it...
  • PhotoTask.Show method / How to do it...
  • PhotoTask_Completed event / How to do it...
  • Priority / How to do it...
  • project template
    • using / How to use the project template
  • proxy class
    • generating, DataSvcUtil used / How to do it..., How it works...
    • Netflix API reference, creating with / Using Reference to create the proxy class

R

  • Razor syntax-supported file / How to do it...
  • ReadToEnd method / How it works...
  • Recipe1_LinqToXml / Getting ready
  • Recipe1_RssReader / How to do it...
  • Recipe2_TwiitterClient
    • building / How to do it...
  • Recipe3_MvvmLight / How to do it...
  • remoteXml_DownloadStringCompleted method / How to do it…
  • Remove method / Introduction
  • REST
    • about / Introduction, Introduction
  • REST (REpresentational State Transfer) web services
    • about / Introduction
  • REST service
    • building / Building a simple REST service, How to do it...
    • working / How it works...
  • RFC 4287
    • about / Introduction
  • rslts_LoadCompleted method / How to do it...
  • RSS/Atom / Introduction
  • RssFeed class / How to do it...
  • RSS feeds
    • consuming / Consuming RSS Feeds, How to do it...
    • partial XML feed / Getting ready
    • working / How it works...

S

  • .sqlite / How it works...
  • SaveJpeg method / How it works...
  • SaveXmlToLocalStorage method / How to do it...
  • screen_name / How it works...
  • Search TextBlock / How to do it...
  • select parameter / Different parameters supported by Netflix OData
  • select query / How to do it..., How it works...
  • select statement / How it works...
  • ServiceContract / How it works...
  • ServiceInfo class / How to do it...
  • service layer
    • building, WCF used / Building a service layer using WCF, How to do it...
  • ServiceName property / How to do it...
  • SESAME Data Browser
    • about / OData Explorer
  • settings.xaml file / How to do it...
  • Settings constructor / How to do it...
  • ShowRecords() method / Creating and deleting data in SQL CE using LINQ to SQL
  • simple app
    • building / Building a simple app, How to do it...
  • SimpleService.svc / How to do it...
  • skip parameter / Different parameters supported by Netflix OData
  • SOA
    • about / Introduction
  • SQL CE
    • using, as local store / SQL CE as a local store, Getting ready, How to do it...
    • working / How it works...
    • data, creating using LINQ to SQL / Creating and deleting data in SQL CE using LINQ to SQL
    • URL / See also
  • SQL CE database file
    • creating, SQL Server Management Studio used / How to do it..., How it works...
  • SQL CE Tools
    • downloading / Getting ready
  • SQLite
    • using, as local store for MyTasks app / Using SQLite as a local store for the MyTasks App, How to do it...
  • SQLite Client
    • downloading / Getting ready
    • test sample, exploring / How to do it...
  • SQLiteClient.cs file / How it works...
  • SQLite Client CodePlex
    • uses / SQLite Client as an embedded database
  • SQLite Client for Phone 7
    • about / Introduction
  • SQLiteCommand function / How it works...
  • SQLiteConnection / How it works...
  • SQLite embedded database
    • about / SQLite Client as an embedded database
    • features / How to do it...
    • Community.CsharpSqlite.WP solution / How to do it...
    • working / How it works...
  • SQLite Studio
    • overview / Overview of SQLite Studio
    • about / Overview of SQLite Studio
    • downloading / Getting ready
    • launching / How to do it...
    • database, creating / How to do it...
    • tables, creating / How to do it...
    • working / How it works...
  • SqliteWrapper classes / How it works...
  • SQL Server 2008 R2 Express
    • downloading / Getting ready
    • about / Getting ready
  • SQL Server Database / Introduction
  • SQL Server Management Studio
    • about / How it works...
    • launching / Getting ready
  • StreamReader object / How it works...
  • StreamWriter class / How it works...
  • System.Data.Services.Client assembly / How to do it...
  • System.IO.IsolatedStorage namespace / Introduction
  • System.Servicemodel.Web / How to do it...
  • System.Xml / How to do it...
  • System.Xml.Linq / How to do it...

T

  • T-SQL (Transact-SQL) / Using LINQ to SQL for creating the service
  • TableAttribute / How it works...
  • tbPriorityContent / How to do it...
  • tbPriorityContent content / How to do it...
  • TextBlock controls / How to do it..., How to do it...
  • TextBlock_MouseLeftButtonDown event method / How to do it...
  • Textbox element / How to do it...
  • top parameter / Different parameters supported by Netflix OData
  • Twitter API
    • using / Using the Twitter API
  • Twitter API resource page
    • URL / Getting ready
  • Twitter client app
    • building / Using the Twitter API, How to do it...
    • working / How it works...
  • TwitterFeed.cs file / How to do it...
  • TwoWay mode, Data Mode / How DataMode is used

U

  • URI (Uniform Resource Identifiers) / Introduction
  • username and password
    • saving, to local store / Saving username and password to a local store, How to do it..., How it works...
  • user settings, isolated storage
    • saving / Saving user settings, How to do it...
    • working / How it works...

V

  • View
    • adding, to user interface / Multiple Views with the same ViewModel
  • ViewModelBase / How to do it...
  • ViewModelBase class / How to do it...
  • ViewModel class / How to do it...
  • ViewModel global property / How to do it...
  • ViewModelLocator.cs file / How it works...
  • ViewModelLocator class / How it works...
  • Visual Studio 2010 SP1 / Getting ready

W

  • W3 standard Atom
    • about / Introduction
  • WCF
    • about / Introduction
    • used, for creating web service / Writing and consuming a simple web service, How to do it..., How it works...
    • used, for building service layer / Building a service layer using WCF, How to do it...
    • ADO.NET Entity Framework, using / WCF using ADO.NET Entity Framework, How to do it...
  • WCF (Windows Communication Foundation) web services / There's more...
  • WCF attribute / There's more...
  • WCF service project
    • creating, ADO.NET Entity Framework used / How to do it...
  • WCF Service project template / How to do it...
  • WebClient class / How to do it…, Introduction, There's more...
  • WebClient object / How to do it...
  • WebMatrix tool / Building a simple REST service
    • installing / Getting ready
    • URL / Getting ready
  • web service
    • consuming, Phone 7 Client App used / Writing and consuming a simple web service, Getting ready, How to do it..., How it works...
    • writing, WCF used / Writing and consuming a simple web service, Getting ready, How to do it..., How it works...
  • Windows Phone 7
    • data binding / Introduction
    • isolated storage / Introduction
  • Windows Phone 7.1 SDK
    • support, for OData features / Introduction
  • World Wide Web / Introduction
  • WP7
    • about / Introduction
  • WP7 application development
    • XML, using / Introduction
  • WP7 Dev Guide
    • URL / See also
  • WriteLine method / How it works...

X

  • XAML controls / There's more...
  • XDocument class / How it works...
  • XDocument object / How to do it...
  • XDocument parse method / Opening a local XML file
  • XML / Introduction
    • about / Introduction
    • methods, of using / Introduction
    • object, serializing / Object serialization to XML, How to do it..., How it works...
  • XmlElement attribute / How to do it...
  • XML file
    • opening, from local folder / Opening a local XML file, How to do it...
    • creating / How to do it...
    • working / How it works...
    • navigating / Navigating the XML file, How to do it…, How it works...
    • opening, from remote location / Opening a remote XML file, How to do it…, How it works...
  • XML parsing
    • XmlReader class, used / Parsing XML using the XmlReader class
  • XmlReader
    • about / Introduction
  • XmlSerializer class / There's more...
  • XmlSerializer object / How it works...
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image