Upload
spencer-dixon
View
217
Download
0
Tags:
Embed Size (px)
Citation preview
DEV339: Creating Windows and Web Applications with WPF (DEV339)
Ian GriffithsIndependent Consultant & Pluralsight Instructor
http://www.interact-sw.co.uk/iangblog/
Applications in WPFApplication-level considerations
• Application lifecycle
• User Experience model
• Hosting – web or standalone?
Application Object
• Application life cycle
• Startup, shutdown
• Activation, deactivation
• Error handling
• Application state
• Basic window management
Application State
• File system
• Registry
• Configuration manager
• Isolated storage
• Cookies
The Application ObjectIsolated Storage
Application User Experience Models
SDI or single window MDI
Navigation Tabbed Navigation
SDI, Multi-SDI, and Dialog UX
• No real difference between SDI and Dialog in WPF
• Simplest to create
• Just use Window class
Creating SDI, Dialog, etc. UX
Basic Navigation
• Use Page and Hyperlink
• Various hosting options
• Frame
• NavigationWindows
• Browser
Navigation
Structured Navigation
• Basic navigation limitations
• Hyperlink = GOTO
• Tyranny of the Back button
• Structured navigation: PageFunction
Structured Navigation
Application Hosting StylesDeployment
• Standalone windows app
• Classic MSI
• ClickOnce
• Browser-hosted (XBAP)
• Loose XAML
Standalone Applications
• Installed
• Can run offline
• Provide their own windows
• May have full trust
• MSI-installed apps will
• ClickOnce apps typically don’t
XBAP
• Web deployment and UX
• No installation step
• Run inside browser frame
• Online only
• Same WPF API as standalone
• Most WPF capabilities
• Some security restrictions
Partial Trust
• .NET CAS
• XBAP sandbox non-negotiable
• Also subject to Low Rights IE Sandbox on Vista
• ClickOnce sandbox subject to configuration
XBAP
Summary / Call to Action
• Application lifecycle
• User Experience
• Standalone and XBAP
Resources
• Windows SDK:
• Blogs
• http://laurenlavoie.com/avalon/
• http://nerddawg.blogspot.com
• http://scorbs.com/work/
Ask The ExpertsGet Your Questions Answered
You can find me at the Microsoft Ask the Experts area, located in the Exhibition Hall:
Wednesday 8 November Lunch
© 2006 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only.MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.