• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Mesh-Enabled Web Applications
 

Mesh-Enabled Web Applications

on

  • 2,045 views

Come learn how to extend your existing Web applications and get them to live and breathe within Live Mesh. See how Mesh-enabled Web applications can be accessed from anywhere through a Web browser as ...

Come learn how to extend your existing Web applications and get them to live and breathe within Live Mesh. See how Mesh-enabled Web applications can be accessed from anywhere through a Web browser as well as run locally (and offline) on a user's desktop. Also see how Web applications can take full advantage of value-add Mesh services such as a dedicated sandbox, online and offline synchronized storage, automatic application updates, identity, application catalogue, social computing, and more.

Statistics

Views

Total Views
2,045
Views on SlideShare
2,035
Embed Views
10

Actions

Likes
0
Downloads
23
Comments
1

3 Embeds 10

http://www.slideshare.net 8
http://thachatbook.com 1
http://www.techgig.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Mesh-Enabled Web Applications Mesh-Enabled Web Applications Presentation Transcript

    • Mesh Services extend Web applications into Desktop by providing Access to Live user Social Graph, Synchronized Storage and Offline Access Live Services add Value to various Stages of application Development and Use Lifecycle Live Framework provides Runtimes, API Kits, Resource Model, Tools and Controls to Build, Deploy, Run and Update Mesh-Enabled Web Applications
    • Synchronized Storage Identity & Analytics Membership Mesh Hosting and Timely News Execution Application Deployment to Catalogue Devices Servicing and Update
    • Developers Users Analyze Evaluate Uninstall Discover Usage & & Learn Improve Update & Get Develop Evaluate Maintain Updates Share License & Test & License & and Market Debug Acquire Socialize Deploy & Configure Publish & Use
    • Client Applications Websites Reach Rich Highpoints Highpoints Access from Anywhere Rich and Native User Experience Instant On Updates Occasionally Connected (Offline) Sandboxed to Browser Hosted on OS Deployment & Update Discoverable via Search Shareable via URL Challenges Challenges Deployment & Update Discoverability Occasional Connection(offline) Ability to share Rich & Native User Experience Sandboxing & Access control Scalability Mesh-Enabled Web Applications
    • Sync… Websites Sync… Devices & Social Mesh
    •  Client-side Web Apps Hosted on Live Services or Websites • DHTML, JavaScript/Ajax, Silverlight, etc  Simple Feed-based Programming APIs Mesh-Enabled Web • AtomPub/RSS/XML/HTTP Application  Auto Deployment and Update • Application Mesh Object • Sync Web App Files •Data Feed(s) •Application Data  Socially Aware and Shareable •Settings • Sync Web App data with users and devices •User data •Associated Mesh Objects  Accessed by Originating Website •Access to user data • User controlled access of data  Runs in a Sandbox • Browser sandbox Online & Offline
    • Device Live Website Contoso.com Third-Party Desktop Host Website Sandbox Mesh-Enabled Mesh Bar Sandbox Web App Mesh-Enabled Mesh Bar Silverlight/Ajax Web App Kit & APIs SilverLight/Ajax Kit & APIs AtomPub/FeedSync/XML/HTTP App Manager Client LOE App Host AtomPub/FeedSync/XML/HTTP Cloud Live Operating Envrionment Live Desktop App Synchronization Communication App Catalogue App Manager Notification Enclosure App Host PubSub Identity Storage Live Services Store Live Services
    • Developer Portal Register your domain and get a App ID & Secret Download Live Framework SDK and VS Tools Build and debug application using Visual Studio (or preferred tool) Upload Application to Azure Developer Portal (Optional) Market and publicize your app on your web site (or anywhere else)! Get user consent and access their data
    • ∞ 1 Installed User Private Application User Gives User Installs Access Application Data (Catalogue) User Creates ∞ Data Instance Has ∞ ∞ Synchronized Member User Shares Mesh Object (Live User) (DataFeeds)
    • Live Framework APIs provide capabilities to: • Manage app News News • Manage app Members • View mapped Devices App can use Live social and Members device context Apps can build their own Devices control/experience Mesh Control is the current default implementation
    • public Page() { InitializeComponent(); MeshApplicationService meshApp = Application.Current.GetMeshApplicationService(); meshApp.LoadCompleted += new EventHandler(app_Load); meshApp.Load(); } void app_Load(object sender, EventArgs e) { MeshApplicationService meshApp = Application.Current.GetMeshApplicationService(); RenderContent(meshApp); } void RenderContent(MeshApplicationService meshApp) { //Accessing Mesh myMesh = meshApp.LiveOperatingEnvironment.Mesh; //Accessing the Application Mesh Object meshApp.Resources.Title = quot;My Titlequot;;
    • MeshApp.run = function MeshApp$run() { Microsoft.LiveFX.MeshApplication.loadAsync(windows.location.hostname, Delegate.create(null, function(meshApplicationContext) { if (meshApplicationContext.state !== Microsoft.LiveFX.OperationState.Success) { MeshApp._showError('MeshApplication Load Failed'); } else { var meshApplication = meshApplicationContext.resource; meshApplication.get_runtimeEndpoint().get_mesh().loadAsync (Delegate.create(null, function(meshOperationContext) { MeshApp._onLoadMesh(meshOperationContext); })); } }));
    • Mesh-Enabled Rich Client Web Apps Web Application Apps • Pre-authenticated • Request for partial • App runs as the • Pre-authorized to access to user data user, with full (Delegated permission only access user • Access to Cloud or Authentication) consented data • Pass requested • Sandboxed to Client Live Services permissions, App ID endpoints browser & Secret • No token • After user management is consent, gets a required token to use against Live Services endpoint
    • All about putting users in control of their data and apps Application Secure Context • Apps not allowed to access disk, other apps and user private data • User can explicitly grant permission to private data Offers & Roles (Read, Write, Full) • Standard: Contacts, Profiles, News, LiveMeshFolder • Custom Offers: <Custom Type> of Mesh Objects (promotes app type sharing) Client Sandbox: Shared secret and cookies isolate each application Live Desktop Sandbox: Cookies, Iframe and domain isolation
    • 2) Consent Request 1) Add App to Mesh 5) Del Auth Token Third Party Web Site Live 6) Call with Token Website ________ User Live Services 3) Consent Request UI 4) Agree to Consent
    • Application ID • Uniquely identifies a Live Mesh Application Secret • Used to authenticate a third party website • Permissions can be managed at Mesh Object, Profiles, Contacts and Resources Mesh Application level • Privileges requested/given to third party web sites Roles & Offers • Read, Contribute, Own Consent Request • A request by a web site to get access to a Mesh resource • User explicit permission to an application to access his/her data & User Consent applications Delegation Token • An encrypted token representing a granted consent Refresh Token • Used to refresh a token for a granted consent
    • Updating Applications is a pain point for developers and end- users Mesh Auto update service updates all the instances of a Mesh App upon use Triggered when developer uploads a new version into Application Catalogue Auto update is optional (user decides whether and when to update) App Catalogue stores and renders multiple versions of an application
    • Global Store for all Mesh-Enabled Web Applications Install From Catalogue Or Website Developer View vs End-user View Application Approval Process Applications are addressable & shareable via URL Accessed via Live Desktop web site
    • Mesh Service Mesh-enabled Web Apps Synchronizes App Files Extend Websites to run and App Data Offline on Desktop Live Framework Provides Tools and APIs Kits for Users Control Access to Building Live Connected their Apps and Data Apps
    • © 2009 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.
    • www.microsoft.com
    • 10% 9% 23% 58%