WP7 Architecture overviewGowtham Prasad K NAmar NityanandaDeveloper EvangelistPartner Technical Consultantgowthamk@microsoft.comamarnit@microsoft.com
AgendaWP7 Architecture overview + Tools and IDE's for WP7 Strategy & PhilosophyApplication Platform + Framework & ToolsArchitecture at glanceQ & AHands-On: Building LBS App on WP7
DESIGN: END USER COMES FIRSTPLATFORM: RICHER, DEEPER, EASIER APPSHARDWARE:FASTER TO MARKET, LESS HEAVY LIFTINGChanging our GameA new approach with WP7
SMART DESIGNINTEGRATED EXPERIENCES
Integrated Experiences
DEMO
APPLICATIONPLATFORM
Platform goalsEnd User CustomizationCloud enablementDeveloper profitA wide variety of thousands of compelling apps and gamesOne stack of frameworks that can be leveraged across multiple devices, tied via cloudFinancial and otherwise
Platform componentsCode that executes on the clientTools used locallyClientCode that executes in the cloudTools in the cloudServer
Platform componentsRuntimeToolsClientPhone EmulatorSensorsMediaDataLocationSamplesDocumentationXbox LIVENotificationsPhoneGuidesCommunity.NET Framework managed code sandboxPackaging and Verification ToolsCloudPortalNotificationsApp DeploymentRegistrationMarketplaceValidationMO and CC BillingLocationIdentityFeedsServerCertificationBusiness IntelligenceMapsSocialPublishingUpdate Management
Client runtime & frameworks
SilverlightModern application UI framework & runtimeRapid creation of visually stunning appsMETRO themed UI controls, defined in XAMLXAML, C#, HTML & JavaScript500,000 developers spanning Windows and WebRich media support
XNA FrameworkHigh performance game frameworkRapid creation of multiscreen 2D and 3D gamesRich content pipelineTraditional update/draw/present frame loop model
Common capabilitiesInputTouchHardware buttonsMediaDigital media capture & playbackMedia library accessDataIsolated storageLINQ (Objects & XML)Windows Communication FoundationSOAP & REST servicesPhone accessSensorsLaunchers & choosersCloud servicesNotificationsLocation & mappingXbox LIVE
WP7 Architecture
Cloud Integration ServicesApp ModelUI ModelSoftware ArchitectureHardware FoundationWP7 Architecture snapshot
Consistent hardware foundationCapacitive Touch4 or more touch points800 QVGA480 HVGASensorsA-GPS, Accelerometer, Compass, Light ProximityCamera5 Megapixels or moreMultimediaCommonly detailed specs, hardware accelerated CODECsGPUDirectX 9 Hardware AcceleratedCPUARM v7, Cortex/Scorpion required480 QVGA320 HVGA
Cloud Integration ServicesApp ModelUI ModelSoftware ArchitectureHardware Foundation
ApplicationsYour App UI and logicFrameworksSilverlightXNAHTML/JavaScriptCLRApp ModelUI ModelCloud IntegrationXbox LIVEBingLocationPush notificationsWindows Live IDApp managementLicensingChamber isolationSoftware updatesShell frame Session managerDirect3DCompositorKernelHardware BSPSecurityNetworkingStorageA-GPS	Accelerometer	Compass	Light	ProximityMedia	Wi-Fi		Radio	GraphicsHardware FoundationSoftware Architecture
Windows Phone 7 SeriesFrameworks DetailsWindows Phone FrameworksCameraDevice IntegrationLaunchers & ChoosersWindows Phone ControlsPhoneApplicationPagePushNotificationWebBrowserControlSensorsPhoneApplicationFrameSilverlight Presentation and MediaXNA Frameworks for GamesControlsDrawingIsolatedStorageDrawingGamerServicesNavigationShapesMarkupMediaAudioMediaGraphicsContentInputApplication ObjectCommon Base Class LibraryDiagnosticsReflectionIORuntimeResourcesGlobalizationTextLocationNetCollectionsComponentModelConfigurationSecurityThreadingServiceModelLinq
Cloud Integration ServicesApp ModelUI ModelSoftware ArchitectureHardware Foundation
App Model: ConceptsApplicationUniquely identifiable, licensable and serviceable software product packaged as a XAPApplication DeploymentSteps include Ingestion, Certification and SigningWindows Phone MarketplaceWindows Phone MarketplaceApplication licenseCrypto-verifiable object issued to grant rights to an application
App Development & TestingToolsPhone EmulatorWindows PhoneEmulatorSamplesDocumentationPackaging & Verification ToolsGuidesCommunityWindows Phone devicePackaging and Verification Toolsmyapp.xap
App & game deploymentDevelop & DebugSubmit& ValidateCertify & SignWindows Phone Application Deployment ServiceMarketplace
App Lifecycle+Phone only installs .xap packages signed by marketplaceWindows Phone MarketplacePhone handles all aspects of .xap installation based on the manifestIndividual apps cannot make arbitrary changes to the phone during installationUsers control install, update and uninstall, while the marketplace controls revocationIndividual apps do not control their own lifecycle on the phonePhilosophy: 3 Screens and CloudCloudWindows DesktopXboxWindows PhoneXNA FrameworksXNA FrameworksXNA FrameworksLocation ServiceSilverlight Presentation and MediaSilverlight Presentation and MediaWindows Phone 7 Series FrameworksNotification Service Common Base Class Library
DEMOBasic Application Development
Cloud Integration ServicesApp ModelUI ModelSoftware ArchitectureHardware Foundation
ApplicationUI and logic for functionality exposed through pagesUI Model: ConceptsPageA single screen of user interaction elementsSessionAn ordered workflow of user interactions spanning applications
PicturesTake a look at recent photosPeopleLook up the status for a contactActive sessionsPicturesContinue looking at recent photosUI Navigation: Example
Page UIDescribes the visual appearance of a pageRetained in shell frame to support resuming paused sessionsDiscarded while the session is pausedUI and State Management: ConceptsPage StateContains data that describes an instance of a page, analogous to browser cookie
UI and State Management: ExampleRunning ApplicationsDehydrated and rehydrated on demand from saved stateApps restarted and UI rehydrated as the user navigates thru the phoneShell FrameMonitors resource usage to decide when to pause sessions
Graphics CompositionStart ExperienceSystem TrayDirect3D SurfaceAppPageNotificationVolumeSIPIncoming CallApp BarShell frame composes all UI into a single screenCentral page management enables cross app UI transitions and other effects
DEMONavigation + Tombstoning
Cloud Integration ServicesApp ModelUI ModelSoftware ArchitectureHardware Foundation
Cloud servicesYour web serviceCustom web serviceAppExisting web serviceFrameworksMicrosoft web servicesCloud client servicesPushLocate
Location & mapsRadioA-GPSWi-FiAppFrameworksLocation client service
Push Notification ServiceWindows PhoneYour Web ServiceCustom Web ServiceExisting Web ServicesNotification ServiceMicrosoft ServicesMicrosoft.Phone.NotificationPush client serviceBuilt-in support for efficient, battery-aware mobile push notificationsManaged APIs for notification-driven interaction with existing Web 2.0 sites
Push notification service14Tile NotificationRaw NotificationToast notificationNew photos online!Seattle, WA: Sunny and 85 degrees
Windows PhoneGame specific web requestsAuthenticated Xbox LIVE callsXBOX LiveYour Web ServiceCustom Web ServiceMicrosoft ServicesXNAGame FoundationGamer Services APIs for Xbox LIVE Profiles, Achievements, and LeaderboardsGame Foundation handles auth, caching, & partial connectivity for Xbox LIVEThird party token allows secure integration with game-specific services
Call to ActionGet started!! Download the tools! Read and understand the design guidelinesStart developing Apps!Resources:http://create.msdn.com/en-US/Team blog: http://windowsteamblog.com/blog/wpdev
A differentkind of phoneDesigned for life in motionSo you can build integrated experiences& profit from it
Q & A
Windows Phone 7 Architecture Overview
Windows Phone 7 Architecture Overview

Windows Phone 7 Architecture Overview

  • 1.
    WP7 Architecture overviewGowthamPrasad K NAmar NityanandaDeveloper EvangelistPartner Technical Consultantgowthamk@microsoft.comamarnit@microsoft.com
  • 2.
    AgendaWP7 Architecture overview+ Tools and IDE's for WP7 Strategy & PhilosophyApplication Platform + Framework & ToolsArchitecture at glanceQ & AHands-On: Building LBS App on WP7
  • 3.
    DESIGN: END USERCOMES FIRSTPLATFORM: RICHER, DEEPER, EASIER APPSHARDWARE:FASTER TO MARKET, LESS HEAVY LIFTINGChanging our GameA new approach with WP7
  • 4.
  • 6.
  • 9.
  • 10.
  • 11.
    Platform goalsEnd UserCustomizationCloud enablementDeveloper profitA wide variety of thousands of compelling apps and gamesOne stack of frameworks that can be leveraged across multiple devices, tied via cloudFinancial and otherwise
  • 12.
    Platform componentsCode thatexecutes on the clientTools used locallyClientCode that executes in the cloudTools in the cloudServer
  • 13.
    Platform componentsRuntimeToolsClientPhone EmulatorSensorsMediaDataLocationSamplesDocumentationXboxLIVENotificationsPhoneGuidesCommunity.NET Framework managed code sandboxPackaging and Verification ToolsCloudPortalNotificationsApp DeploymentRegistrationMarketplaceValidationMO and CC BillingLocationIdentityFeedsServerCertificationBusiness IntelligenceMapsSocialPublishingUpdate Management
  • 14.
  • 15.
    SilverlightModern application UIframework & runtimeRapid creation of visually stunning appsMETRO themed UI controls, defined in XAMLXAML, C#, HTML & JavaScript500,000 developers spanning Windows and WebRich media support
  • 16.
    XNA FrameworkHigh performancegame frameworkRapid creation of multiscreen 2D and 3D gamesRich content pipelineTraditional update/draw/present frame loop model
  • 17.
    Common capabilitiesInputTouchHardware buttonsMediaDigitalmedia capture & playbackMedia library accessDataIsolated storageLINQ (Objects & XML)Windows Communication FoundationSOAP & REST servicesPhone accessSensorsLaunchers & choosersCloud servicesNotificationsLocation & mappingXbox LIVE
  • 18.
  • 19.
    Cloud Integration ServicesAppModelUI ModelSoftware ArchitectureHardware FoundationWP7 Architecture snapshot
  • 20.
    Consistent hardware foundationCapacitiveTouch4 or more touch points800 QVGA480 HVGASensorsA-GPS, Accelerometer, Compass, Light ProximityCamera5 Megapixels or moreMultimediaCommonly detailed specs, hardware accelerated CODECsGPUDirectX 9 Hardware AcceleratedCPUARM v7, Cortex/Scorpion required480 QVGA320 HVGA
  • 21.
    Cloud Integration ServicesAppModelUI ModelSoftware ArchitectureHardware Foundation
  • 22.
    ApplicationsYour App UIand logicFrameworksSilverlightXNAHTML/JavaScriptCLRApp ModelUI ModelCloud IntegrationXbox LIVEBingLocationPush notificationsWindows Live IDApp managementLicensingChamber isolationSoftware updatesShell frame Session managerDirect3DCompositorKernelHardware BSPSecurityNetworkingStorageA-GPS Accelerometer Compass Light ProximityMedia Wi-Fi Radio GraphicsHardware FoundationSoftware Architecture
  • 23.
    Windows Phone 7SeriesFrameworks DetailsWindows Phone FrameworksCameraDevice IntegrationLaunchers & ChoosersWindows Phone ControlsPhoneApplicationPagePushNotificationWebBrowserControlSensorsPhoneApplicationFrameSilverlight Presentation and MediaXNA Frameworks for GamesControlsDrawingIsolatedStorageDrawingGamerServicesNavigationShapesMarkupMediaAudioMediaGraphicsContentInputApplication ObjectCommon Base Class LibraryDiagnosticsReflectionIORuntimeResourcesGlobalizationTextLocationNetCollectionsComponentModelConfigurationSecurityThreadingServiceModelLinq
  • 24.
    Cloud Integration ServicesAppModelUI ModelSoftware ArchitectureHardware Foundation
  • 25.
    App Model: ConceptsApplicationUniquelyidentifiable, licensable and serviceable software product packaged as a XAPApplication DeploymentSteps include Ingestion, Certification and SigningWindows Phone MarketplaceWindows Phone MarketplaceApplication licenseCrypto-verifiable object issued to grant rights to an application
  • 26.
    App Development &TestingToolsPhone EmulatorWindows PhoneEmulatorSamplesDocumentationPackaging & Verification ToolsGuidesCommunityWindows Phone devicePackaging and Verification Toolsmyapp.xap
  • 27.
    App & gamedeploymentDevelop & DebugSubmit& ValidateCertify & SignWindows Phone Application Deployment ServiceMarketplace
  • 28.
    App Lifecycle+Phone onlyinstalls .xap packages signed by marketplaceWindows Phone MarketplacePhone handles all aspects of .xap installation based on the manifestIndividual apps cannot make arbitrary changes to the phone during installationUsers control install, update and uninstall, while the marketplace controls revocationIndividual apps do not control their own lifecycle on the phonePhilosophy: 3 Screens and CloudCloudWindows DesktopXboxWindows PhoneXNA FrameworksXNA FrameworksXNA FrameworksLocation ServiceSilverlight Presentation and MediaSilverlight Presentation and MediaWindows Phone 7 Series FrameworksNotification Service Common Base Class Library
  • 29.
  • 30.
    Cloud Integration ServicesAppModelUI ModelSoftware ArchitectureHardware Foundation
  • 31.
    ApplicationUI and logicfor functionality exposed through pagesUI Model: ConceptsPageA single screen of user interaction elementsSessionAn ordered workflow of user interactions spanning applications
  • 32.
    PicturesTake a lookat recent photosPeopleLook up the status for a contactActive sessionsPicturesContinue looking at recent photosUI Navigation: Example
  • 33.
    Page UIDescribes thevisual appearance of a pageRetained in shell frame to support resuming paused sessionsDiscarded while the session is pausedUI and State Management: ConceptsPage StateContains data that describes an instance of a page, analogous to browser cookie
  • 34.
    UI and StateManagement: ExampleRunning ApplicationsDehydrated and rehydrated on demand from saved stateApps restarted and UI rehydrated as the user navigates thru the phoneShell FrameMonitors resource usage to decide when to pause sessions
  • 35.
    Graphics CompositionStart ExperienceSystemTrayDirect3D SurfaceAppPageNotificationVolumeSIPIncoming CallApp BarShell frame composes all UI into a single screenCentral page management enables cross app UI transitions and other effects
  • 36.
  • 37.
    Cloud Integration ServicesAppModelUI ModelSoftware ArchitectureHardware Foundation
  • 38.
    Cloud servicesYour webserviceCustom web serviceAppExisting web serviceFrameworksMicrosoft web servicesCloud client servicesPushLocate
  • 39.
  • 40.
    Push Notification ServiceWindowsPhoneYour Web ServiceCustom Web ServiceExisting Web ServicesNotification ServiceMicrosoft ServicesMicrosoft.Phone.NotificationPush client serviceBuilt-in support for efficient, battery-aware mobile push notificationsManaged APIs for notification-driven interaction with existing Web 2.0 sites
  • 41.
    Push notification service14TileNotificationRaw NotificationToast notificationNew photos online!Seattle, WA: Sunny and 85 degrees
  • 42.
    Windows PhoneGame specificweb requestsAuthenticated Xbox LIVE callsXBOX LiveYour Web ServiceCustom Web ServiceMicrosoft ServicesXNAGame FoundationGamer Services APIs for Xbox LIVE Profiles, Achievements, and LeaderboardsGame Foundation handles auth, caching, & partial connectivity for Xbox LIVEThird party token allows secure integration with game-specific services
  • 43.
    Call to ActionGetstarted!! Download the tools! Read and understand the design guidelinesStart developing Apps!Resources:http://create.msdn.com/en-US/Team blog: http://windowsteamblog.com/blog/wpdev
  • 44.
    A differentkind ofphoneDesigned for life in motionSo you can build integrated experiences& profit from it
  • 45.