Monday, December 8, 2008

Live Framework .NET API Kit

Live Framework .NET API Kit
  • Dr Neil Roodyn
  • 11am
  • Key Take away
  • Live Framework Overview
  • Introducing the Live Framework API Kits
  • Live Framework Kit for .NET
    • Overview
    • Key Concepts
    • Accessing Live
    • Managing application’s data
    • Sharing your data
    • Taking the application Offline
 Key Take away
  • Live Framework allows you to integrate the power of the cloud in a cohesive and consistent way in your application
  • Live Framework enables you to move to the next inflection point in the software industry
  • .NET developers can use the Live Framework Client Libraries to build their application
  • A set of libraries which can be used to program using Live fx
  • .NET, SilverLight and JavaScript Libraries available today
  • Work on various platforms and programming languages
 Design Goals
  • Expose the core Live service in a cohesive and consistent way with .NET
  • Make it easy and natural for .NET developer to consume Live Services
  • Have a symmetrical programming model
 Accessing Live
  • LiveOperatingEnvironment class
    • Connect your application to the LiveOperatingEnvironment
      • Sync and async pattern available
      • Local or remote connection available
    • Main entry point to all Live Services
    • Optimize the access to resource at connection time
 Managing application’s data
  • Mesh Object
    • Container of application defined metadata
    • Fundamental unit of extensibility, sharing and synchronisation
    • Can be replicated across a set of devices
    • Can be shared among a set of users and applications
    • Contains: Members, Mapping, News, DataFeeds, Activities
  • DataFeed
    • Store application information: Metadata and blobs
    • Receive update information
    • Has Replication and synchronization capabilities
    • A mesh object can have any number of data feeds
    • An application may create/modify/delete feeds at any time
  • DataEntry
    • Data Entries and stored in a DataFeed
    • Lowest level of storage in a mesh object
 Accessing Live
  • Users control their data
  • Delegated authorization via Live ID for web apps
  • Apps work on behalf of user
 Navigating the Model
  • It’s all about Collections!
  • Meshobject.DataFeeds collection
  • LiveItemCollection
 LiveItemCollection properties
  • Title
  • Entries
  • IsLoaded
  • LiveOperatingEnvironment
  • SelfLink
 Querying Collections
  • Collections are everywhere
  • LINQing to Mesh data
  • May want to filter, sort large data sets
  • CreateQuery vs LINQ to Entries
    • Server side filtering
    • Client caching
 Sharing your data (Members)
  • Represents a Windows Live ID’s membership in the MeshObject
  • New members have to be invited to be part of the Resource
  • Has a role based on the object: Full, Author, Writer, Reader
 Taking the application Offline
  • Local End Point
    • Leverage the Symmetrical APIS
      • Same APIs are used in the local the remote end point
    • Change the target URL to be local
    • Mesh Service takes care of the data
  • Live Framework
    • Allows you to integrate the cloud in a cohesive and consistent way
    • Enables you to move to the next inflection point in the software industry
    • .NET developers can use the client Libraries to build their applications
  • Start using it today, we want your feedback!
 Call to action   

No comments:

Post a Comment