stephen forte chief strategy officer telerik wux204
TRANSCRIPT
![Page 1: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/1.jpg)
![Page 2: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/2.jpg)
Building Offline Applications Using Microsoft Silverlight 3
Stephen ForteChief Strategy OfficerTelerikWUX204
![Page 3: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/3.jpg)
Speaker.Bio.ToString();Chief Strategy Officer of TelerikCertified Scrum MasterActive in the Community:
International Conference Speaker for 12+ YearsRD, MVP and INETA Speaker Co-moderator & founder of NYC .NET Developers Group http://www.nycdotnetdev.comWrote a few books: SQL Server 2008 Developers Guide (MS Press)
MBA from the City University of New YorkPast:
CTO and co-Founder of Corzen, Inc. (TXV: WAN)CTO of Zagat Survey
![Page 4: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/4.jpg)
Out of Browser Goals
SimplicityGive the user the right default behaviorNo additional downloads for user
Follow the web rulesUse the web deployment/update modelMost applications can live within a sandbox
![Page 5: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/5.jpg)
Out of browserdemo
![Page 6: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/6.jpg)
Taking an App Out of Browser
Gestures (How)Context menuApplication-provided behaviorApp runs before install
User initiates action to trigger
Application TypesAlways connectedAlways disconnectedOccasionally connected
![Page 7: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/7.jpg)
Detaching API
Manifest (AppManifest.xaml)Name, title, descriptionOptional icons
Code APIsDetach() methodExecutionStateExecutionStateChanged event modelRunningOffline property
![Page 8: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/8.jpg)
Detached State Flow
In-browserRunningOnlineDetachingDetached (RunningOffline=false)
Out of browserDetached (RunningOffline=true)
![Page 9: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/9.jpg)
Application Updates
Optimized for instant onBackground downloading upon identificationNext out of browser launch uses new appEvent model when update downloaded
![Page 10: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/10.jpg)
Network Availability
Network detection key for scenario (occasionally connected apps)Silverlight 3 new APIs for detection
IP address change eventNetwork available property
Any interface (no loopback)
Best practicesDo more than just detect IP change
![Page 11: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/11.jpg)
Interacting with Data
Out of browser IsoStoreDefault limit increase to 25MB upon Detach()Can still prompt for quota increaseStorage is shared location for in-browser and out-of-browser – not a new IsoStore
OpenFileDialog and SaveFileDialogInteraction with full file system via user action
![Page 12: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/12.jpg)
Out of browserdemo
![Page 13: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/13.jpg)
Debugging Methods
ChildWindow for ExceptionsAttach to SLLauncher.exe in beta
Post-beta will launch auto attach in VSIn-browser and out of browser are two instances of the app
![Page 14: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/14.jpg)
Differences from In-browser
Additional key mappings (F keys)No HTML DOM Access
MouseWheel XmlHttp
Currently no HTML interopAssembly Cache not available
![Page 15: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/15.jpg)
Best Practices
Download local data Check RunningOffline for state
Don’t trigger more than one HttpWebRequest at a timeKeep your code in the XAP
Silverlight versions for youIf data model changes, require a restartShow UI for major updates
![Page 16: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/16.jpg)
www.microsoft.com/teched
Sessions On-Demand & Community
http://microsoft.com/technet
Resources for IT Professionals
http://microsoft.com/msdn
Resources for Developers
www.microsoft.com/learningMicrosoft Certification and Training Resources
www.microsoft.com/learning
Microsoft Certification & Training Resources
Resources
![Page 17: Stephen Forte Chief Strategy Officer Telerik WUX204](https://reader035.vdocuments.us/reader035/viewer/2022062221/56649cbf5503460f949852c0/html5/thumbnails/17.jpg)
© 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.