Exploring Networked Data and Data Stores Lesson 3.

Slides:



Advertisements
Similar presentations
Microsoft ® Office OneNote ® 2007 Training Using your Notebook to its fullest potential Kent School District presents:
Advertisements

Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.
.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Chapter 12: Using ADO.NET 2.0 Programming with Microsoft Visual Basic 2005, Third Edition.
1 Chapter 12 Working With Access 2000 on the Internet.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Mobile Application Development
Interpret Application Specifications
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Development of mobile applications using PhoneGap and HTML 5
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
2007 Microsoft Office System Client/Server Capabilities Client/server capabilities of Microsoft Office Professional Enterprise Edition 2003 compared to.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
1 Enabling Secure Internet Access with ISA Server.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Winter Consolidated Server Deployment Guide for Hosted Messaging and Collaboration version 3.5 Philippe Maurent Principal Consultant Microsoft.
Building Offline/Cache Mode Web Apps Using Sync Framework Mike Clark Group Manager Cloud Data Services Team
Creating and Running Your First C# Program Telerik Software Academy Telerik School Academy.
Some Basic Database Terminology
What’s New in Sage SalesLogix V Release Overview Sage SalesLogix v7.5.2 focuses on: −User Enhancements streamline the user experience furthering.
4-1 INTERNET DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
Eric Vogel Software Developer A.J. Boggs & Company.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Tutorial 1: Getting Started with Adobe Dreamweaver CS4.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
What’s New? – BCS 2013 Brett Lonsdale.  Co-founder of Lightning Tools  One of the hosts on the SharePoint Pod Show  Co-organizer of SharePoint Saturday.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Olaf Feldkamp Development Platform Advisor Microsoft Schweiz GmbH.
Developing Enterprise Mobile Apps with Xamarin Loren Horsager CEO, Mobile Composer.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Lecture Set 14 B new Introduction to Databases - Database Processing: The Connected Model (Using DataReaders)
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Tony Goodhew Product Planner DEV328.
Lap Around Visual Studio 2008 &.NET 3.5 Enhancements.
Copyright 2008 Judith A Copeland - Accessing The Database By Judi Copeland.
Alcatel-Lucent CDC Workshop, Coaching & Knowledge Transfer Architecture.
Object Oriented Software Development 10. Persistent Storage.
Access Chapter 8- Integrating Access with the Internet and other Programs.
Why data services? Common challenges when creating rich web applications Creating rich web applications with data services Future scenarios & roadmap.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
Module 1: Overview of Microsoft Office SharePoint Server 2007.
Configuring and Deploying Web Applications Lesson 7.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Microsoft Office 2008 for Mac – Illustrated Unit D: Getting Started with Safari.
COM: 111 Introduction to Computer Applications Department of Information & Communication Technology Panayiotis Christodoulou.
Gowtham Prasad K N Partner Technical Consultant | Microsoft Corporation |
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
Microsoft ® Official Course Module 9 Working with Business Connectivity Services.
WINDOWS PHONE 7 DEVELOPER GUIDE A guide to 3 screens and the cloud Scott Densmore Sr. Software Development Engineer Microsoft patterns & practices.
Exploring Mobile Device Networking Lesson 4. Exam Objective Matrix Skills/ConceptsMTA Exam Objectives Understanding Networking for Mobile Devices Network.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Understanding Mobile Devices, Interactions, and Tools Lesson 1.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
Working in a Mobile App Development Environment Lesson 2.
Integrating Data Lesson 6.
Introducing the Microsoft® .NET Framework
Mobility for Real Estate – Extending JDE Core Data to User Fingertips
Using Access and the Web
Microsoft Office Illustrated
Introduction to mobile app development Module 3 – Improving your App Studio app Lance McCarthy.
Chapter 10 ADO.
Database Applications
WCF Data Services and Silverlight
SQL Azure to .NET Developers
Presentation transcript:

Exploring Networked Data and Data Stores Lesson 3

Exam Objective Matrix Skills/ConceptsMTA Exam Objectives Using Data StoresUsing data stores. (2.2) Working with Networked DataWorking with networked data. (2.1)

Data Stores Definition –A data repository or container that stores data Database Flat file (like a spreadsheet) Text file Data store items –Objects –May come from multiple sources

Example of a Text File as a Flat-File Repository

Different Types of Storage Files –Typical application files in Visual Studio IDE C# or Visual Basic (VB) XAML XAP Images –Content (preferred for optimization) –Resource (embedded in the project assembly)

Files for a Sample App Written in C#

Specifying the Content or Resource Build Action for a File

The Properties Window in Solution Explorer The Properties window appears below Solution Explorer by default Properties button

Different Types of Storage (continued) Databases –A collection of information organized for convenient access –Many are relational (linked to one another) –Database schema Defines the tables and fields, and the relationship between the two –Microsoft SQL Server

A Portion of Code from App.xaml.cs in the Local Database Sample

Describing Different Storage Locations Local –Read-only data stored within application Isolated –User-specific stored in special local containers Preferences, addresses, game scores Remote –On server located on the Internet

Local, Isolated, and Remote Storage in Windows Phone OS 7.1 Isolated storage Database Web service XAP Local file Mobile app Internet

Local Storage and Isolated Storage Local files (XML, Text, APIs) –May be compiled as content or resource files –Static (read-only) located within application –Dynamic files are located in isolated storage User-specific –Use Isolated storage to save data As key/value pairs In files and folders In a database

Remote Storage Data located on a server, accessed by Web services Web service –Proxy between a client (mobile app) and remote storage –Commonly used by mobile apps Windows Communication Foundation (WCF) WCF Data Services (OData services) Windows Azure Services

Accessing Native Data and Functionalities Launchers and Choosers (APIs) –Are called within an original application –Temporarily use built-in applications on device –Return the user to the original application Choosers –Can return data to the original application Launchers –Cannot return data to original application

A Portion of Code from ForecastPage.xaml.cs in the Weather Forecast Sample

Searching in the Code Sample Find in Files button Find All button

The Find Results Window

Camera Capture Code in a Sample File

Handling Offline Situations Occasionally connected application (OCA) –Synchronizes data on client device so information may be used while offline Retrieves data from remote server Stores data locally User can use app and data locally Synchronizes when connection is available

DB Accessing and synchronizing with remote database Mobile app Internet SQL Server DB Mobile app Internet SQL Server DB Working offline Data Synchronization and Offline Mode

Working with Networked Data Developers must determine –Which type of database engine to use –Where data will be located –How to access data –How to synchronize data –How to optimize app performance and bandwidth

A Portion of Code from MainPage.xaml.cs in the Network and Device Information Sample

Integrating with Databases Windows Phone 7.1 works with: –Microsoft SQL Server –SQLite –Microsoft SQL Server Compact Edition (SQL CE) Support local databases –Windows Phone 7.1 SDK Includes support for LINQ to SQL –Performs all local SQL-related database tasks –Filters and orders data within database layer

Synchronizing and Replicating Data Keeps information up to date on both a server and a mobile device Accomplished through: –Sync Framework Formerly Sync Services for ADO.NET Can exchange data supported by MSF –SQL Server replication Copies and maintains exact copy of data Merge replication used for mobile apps

Implementing Data Binding Data binding is a process creating a relationship between a data source and a control (target). –Connects UI to the data displayed –Enables user to modify and save changes Silverlight app data can be bound through: –XAML –C# –VB code

A Portion of Code from MainPage.xaml.cs in the Contacts and Calendar Sample App

Minimizing Data Traffic Develop app to be contained on the mobile device whenever possible –Three-tier approach Uses a server to check credentials and control bandwidth –Improves app and device performance Limits connection time with remote servers –Reduces bandwidth usage and user’s time spent accessing information

Windows Communication Foundation (WCF) Works with Representational State Transfer Protocol (REST) –Exposes resources on the Web that clients can access and use Example: Bing search engine Advantages: –Speed –Safety/security –Supports multiple bindings (including HTTP)

Recap Storage Local data Offline data Networked data Data stores Minimizing data traffic