BB05  Raymond Endres Development Manager Microsoft Corporation          A comprehensive hosted platform for your applications and services.

Download Report

Transcript BB05  Raymond Endres Development Manager Microsoft Corporation          A comprehensive hosted platform for your applications and services.

BB05
 Raymond Endres
Development Manager
Microsoft Corporation









A comprehensive hosted platform for your applications and services
Mesh
Services
Identity
Users
Devices
Directory
Applications
Storage
Synchronization
Communications
and Presence
Search &
Geospatial







Libraries
Open formats, protocols and operations
Core
Data
Communications
Live Operating Environment
App Model
Tools and Services
Resource Model
Libraries
.NET FX 3.5 APIs
Silverlight APIs
JavaScript APIs
Client Controls
Web Controls
Tools & Services
…
Resource Model
ATOM
AtomPub
JSON
POX
RSS
Binary XML
Developer
Portal
FeedSync
CRUD
Sync
Resource
Scripts
URI-LINQ
Triggers
Data
Core
User Mesh
Identity
Device Mesh
Applications
Folders
News
Photos
Favorites
Contacts
Lists
Profile
Calendar
Auth/Z
Hosting
Introspection
Communications
App Model
P2P
Catalog
Notifications
Hosting
Presence
Mesh Applications
Provisioning /
Account
Management
App Data & Settings
Application Management
System
Visual Studio
Tools /
Designers
Mapping
Search
Live Operating Environment
Analytics
CRUD
Sync
App Hosting
CRUD
Sync
Hosting
Resource Script
Engine
Auth/Z
Analytics
Resource Script Engine
Auth/Z
Local Store
…
P2P
File Sys
…
Cache
Windows® Azure™
Developer
Sandbox
Client
Cloud
Windows
Embedded
Windows Mobile
Other
.NET FX 3.5
APIs



Silverlight
APIs
JavaScript
APIs
Client
Controls
Web
Controls
…
Design goals



LOE
End-Point
Scripts
Devices
Members
Mesh
Profiles
Applications
Mappings
Mesh
Objects
Contacts
News
Data Feeds
Notification
Queue
News
Subscription
Data Entry
Data Entry
Media
Resources
Accessing Live Data






public static void Connect (NetworkCredentials creds)
{
Uri uri = new Uri(“https://user-ctp.windows.net”);
LiveOperatingEnvironment loe = new LiveOperatingEnvironment();
loe.Connect(creds)
}
foreach (Contact contact in loe.Contacts.Entries)
{
Console.WriteLine(contact.Resource.DisplayName);
}
Accessing Live Data




Accessing Live Data
User
(3) Views Request
and Gives Consent
(1) Visits
(2) Consent Request to
Third Party
Website/
Application
Access a Live Folder
Live Desktop
(4) Del Auth Token
(5) API call with Del Auth Token
Cloud LOE
APIs
Managing application data







MeshObject pokerObj = new MeshObject("PokerInfo");
PokerChip chip = new PokerChip();
pokerObj.Resource.SetUserData<PokerChip>(chip);
loe.Mesh.MeshObjects.Add(ref pokerObj);
public class PokerChip
{ public int NumberOfChips { get; internal set; } }
Managing application data







DataFeed feed = new DataFeed();
feed.Resource.Type = “LiveMeshFolder”;
feed.Resource.HandlerType = “FileSystem”;
meshObject.DataFeeds.Add(ref feed);
Sharing data





foreach (Member member in meshObject.Members.Entries)
{
Console.WriteLine(member.Resource.Title);
Console.WriteLine(member.Resource.InvitationAccepted);
Console.WriteLine(member.Resource.Role);
}
Sharing data










Taking applications offline





public static void Connect (NetworkCredentials creds)
{
LiveOperatingEnvironment loe = new LiveOperatingEnvironment();
//loe.Connect(creds)
loe.ConnectLocal();
}















www.microsoftpdc.com
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.