SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Introduction to Windows
          8 Development

           Let’s Go Metro
Jeff Bramwell
                                                                  w
                                     Heartland Developers Conference
Director - Enterprise Architecture   Thursday, September 6th, 2012
Farm Credit Services of America      10:15 AM Room 200
jbramwell@gmail.com|@jbramwell
devmatter.blogspot.com
Please Be Courteous!




Please be courteous to your fellow attendees
                    and
 Set your phones to vibrate or silent mode!
Agenda
• Tools
• Runtime / Architecture
• Development Features
• Windows Store
• Resources & Links
• Questions
Tools
Windows 8 SKUs
                                                                       X86/64
• Windows 8
  • Targeted toward home users
  • Matches closest to Windows 7 “Home” editions
• Windows 8 Pro
  • Targeted toward business and enthusiast users
  • Matches closest to Windows 7 Professional and Ultimate editions
• Windows 8 Enterprise
  • Targeted toward businesses
  • Available only through Software Assurance
                                                                        ARM
• Windows RT     Don’t confuse this with WinRT or Windows Runtime 
  • Pre-installed on ARM-based devices
Get the Tools
• Visual Studio 2012
  •   Visual Studio Express 2012 for Windows 8 (FREE)
  •   Visual Studio Professional 2012
  •   Visual Studio Premium 2012
  •   Visual Studio Ultimate 2012
• Blend for Visual Studio 2012
  • UI Design and Development
  • Optional
• .NET Framework 4.5
  • Included with Windows 8
  • Installed with Visual Studio 2012 on non-Windows 8 devices
UX / Runtime / Architecture
What is “Metro             w”
• A “code” name 
     • Windows Store application
•   Content over chrome
•   Fast and fluid
•   Touch first
•   Snap and scale beautifully
•   Use of contracts
•   Application tile
•   Connected; Roam to the cloud
•   Authentically digital
Windows Runtime (WinRT)
• New programming model for Windows 8
• Supports C#, VB.NET, C++, and JavaScript
• Supported on x86 and ARM architectures
• Windows metadata provides cross-language support
  • Complete description of Windows Runtime
  • Allows for multi-language projection
  • Full IntelliSense
• Asynchronous APIs
• Windows.* namespaces include Windows Runtime types
Windows Runtime Architecture
Development Features
Creating a Windows 8 App
• Visual Studio 2012
• Windows Store Templates
• Several Project Types
Roaming Data
• Built-in data roaming capabilities
• Uses Microsoft Account
• Simple to use:
  Windows.Storage.ApplicationData.Current.RoamingSettings.Values["StoredValue"] = StoredValue.Text;



• Use RoamingFolder for file-based data
• Roaming storage quota = 100KB
• If you exceed quota, nothing syncs (though it still persists)
• Use HighPriority for preserving application context
• Use a CompositeSettingValue to roam related items
Contracts & Extensions
Contracts              Extensions
• App to App Picking   • Account picture provider
• Play To              • AutoPlay
• Print                • Background tasks
• Search               • Camera settings
• Settings             • Contact picker
• Share                • File activation
                       • Game Explorer
                       • Print task settings
                       • Protocol activation
                       • SSL/certificates
File Picker
• FileOpenPicker
  • Presents a list of files (as a list or thumbnails) for selection
  • SkyDrive support built in
  • Returns a Windows.Storage.StorageFile


• FileSavePicker
  • Allows you to save a file to a selected location
  • SkyDrive support built in
  • Returns a Windows.Storage.StorageFile
Settings Contract
• Implemented via SettingsCommand
• Displayed via User Control hosted in Popup
• Various ways to implement
• Widths of 346px or 646px supported
App Bars
• Similar in concept to menu bar in Windows Phone
• Use top App Bar for Navigation
• Use bottom App Bar for Commands
• Use <AppBar /> XAML control to add an app bar to your app
• Can create your own icons – or – utilize Segoe UI Symbol
Application lifecycle

                    Running




       NotRunning             Suspended
Application lifecycle
• Use PreviousExecutionState when Launching
  •   NotRunning
  •   Running
  •   Suspended
  •   Terminated
  •   ClosedByUser
• Use SuspendingOperation.GetDeferral() when Suspending
• No special check required when Resuming
Windows Store
Windows Store
• Integrated into Visual Studio 2012
• Open Developer Account
• Reserve App Name
  • Good for 1 year
• Acquire Developer License
  • Tied to Microsoft Account
  • License per machine
  • Free
Windows Store (cont’d)
• Edit App Manifest
• Associate App with Windows Store
  • Based on reserved apps
• Capture Screenshots
• Create/Upload App Packages
Summary
• Tools
    • Windows 8
    • Visual Studio 2012
    • .NET Framework 4.5
• Runtime / Architecture
    • Windows Runtime
• Development Features
    •   Roaming Data
    •   Contracts & Extensions
    •   File Picker
    •   Settings
    •   App bars
    •   Application Lifecycle
• Windows Store
    • Registration
    • Packaging
    • Publishing
Resources & Links
Download Links
• Windows 8 RTM
  • MSDN and Evaluation versions
• Visual Studio Express 2012 for Windows 8
  • The FREE version
• Templarian Icons
  • Great, free Windows 8/Phone Icons
• Syncfusion Metro Studio
  • Easily create great Windows 8/Phone Icons
• Windows 8 Dev Camp in a Box
  • A wealth of resources and information
Resources
• How to Develop a Windows 8 App in 30 Days

• Windows Metro Style Apps Forums

• Windows 8 Code Samples

• Windows 8 on Stack Overflow
Related Sessions
Thursday
09:00 – K1 – Keynote Session – Windows 8 and the Future of Client Development w/Pete Brown
   • Already over 
10:15 – Session 201 – Getting Started with Windows 8 Development – Go Metro!
   • This session 
10:15 – Session 401 – C++/CX and WinRT: Just Enough C++ To Get By On w/Michael Price
   • Same time as this session 


Friday
13:15 – Session 208 – Understanding the Metro UX – A Developer Perspective w/Jeff Brand
   • You don’t want to miss this one!
14:15 – Session 309 – Cross-Platform, Cross-Device, Connected-Apps Oh My! w/Mike Benkovich
   • Building Connected Windows 8 Applications with Windows Azure
Questions

Weitere ähnliche Inhalte

Mehr von Jeff Bramwell

A Roadmap to Enterprise Quality
A Roadmap to Enterprise QualityA Roadmap to Enterprise Quality
A Roadmap to Enterprise QualityJeff Bramwell
 
The Power of Azure DevOps
The Power of Azure DevOpsThe Power of Azure DevOps
The Power of Azure DevOpsJeff Bramwell
 
The Power of Azure DevOps
The Power of Azure DevOpsThe Power of Azure DevOps
The Power of Azure DevOpsJeff Bramwell
 
Roadmap to Enterprise Quality
Roadmap to Enterprise QualityRoadmap to Enterprise Quality
Roadmap to Enterprise QualityJeff Bramwell
 
Evaluating Docker in the Enterprise - Getting Started
Evaluating Docker in the Enterprise - Getting StartedEvaluating Docker in the Enterprise - Getting Started
Evaluating Docker in the Enterprise - Getting StartedJeff Bramwell
 
Performance testing with VSTs on- and off-premises
Performance testing with VSTs on-  and off-premisesPerformance testing with VSTs on-  and off-premises
Performance testing with VSTs on- and off-premisesJeff Bramwell
 
Using REST with VSTS and TFS
Using REST with VSTS and TFSUsing REST with VSTS and TFS
Using REST with VSTS and TFSJeff Bramwell
 
Building Extensions in VSTS and TFS
Building Extensions in VSTS and TFSBuilding Extensions in VSTS and TFS
Building Extensions in VSTS and TFSJeff Bramwell
 
Adventures in enterprise architecture
Adventures in enterprise architectureAdventures in enterprise architecture
Adventures in enterprise architectureJeff Bramwell
 
Building with Visual Studio Online
Building with Visual Studio OnlineBuilding with Visual Studio Online
Building with Visual Studio OnlineJeff Bramwell
 
Introduction to Windows 8 Development
Introduction to Windows 8 DevelopmentIntroduction to Windows 8 Development
Introduction to Windows 8 DevelopmentJeff Bramwell
 
Visual studio 2012 - What's in it for me?
Visual studio 2012 - What's in it for me?Visual studio 2012 - What's in it for me?
Visual studio 2012 - What's in it for me?Jeff Bramwell
 
Getting Started With the TFS Object Model
Getting Started With the TFS Object ModelGetting Started With the TFS Object Model
Getting Started With the TFS Object ModelJeff Bramwell
 
What's Coming in Visual Studio v.Next
What's Coming in Visual Studio v.NextWhat's Coming in Visual Studio v.Next
What's Coming in Visual Studio v.NextJeff Bramwell
 
Getting Started with WP7 Development
Getting Started with WP7 DevelopmentGetting Started with WP7 Development
Getting Started with WP7 DevelopmentJeff Bramwell
 
TDC 2010 - VS2010 ALM - What's In It for Me
TDC 2010 - VS2010 ALM - What's In It for MeTDC 2010 - VS2010 ALM - What's In It for Me
TDC 2010 - VS2010 ALM - What's In It for MeJeff Bramwell
 
TDC 2010 - Migrating to TFS 2010 - Lessons Learned
TDC 2010 - Migrating to TFS 2010 - Lessons LearnedTDC 2010 - Migrating to TFS 2010 - Lessons Learned
TDC 2010 - Migrating to TFS 2010 - Lessons LearnedJeff Bramwell
 
Tulsa TechFest 2010 - What's New in TFS 2010
Tulsa TechFest 2010 - What's New in TFS 2010Tulsa TechFest 2010 - What's New in TFS 2010
Tulsa TechFest 2010 - What's New in TFS 2010Jeff Bramwell
 
Tulsa TechFest 2010 - Migrating to TFS 2010 - Lessons Learned
Tulsa TechFest 2010 - Migrating to TFS 2010 - Lessons LearnedTulsa TechFest 2010 - Migrating to TFS 2010 - Lessons Learned
Tulsa TechFest 2010 - Migrating to TFS 2010 - Lessons LearnedJeff Bramwell
 

Mehr von Jeff Bramwell (20)

A Roadmap to Enterprise Quality
A Roadmap to Enterprise QualityA Roadmap to Enterprise Quality
A Roadmap to Enterprise Quality
 
The Power of Azure DevOps
The Power of Azure DevOpsThe Power of Azure DevOps
The Power of Azure DevOps
 
The Power of Azure DevOps
The Power of Azure DevOpsThe Power of Azure DevOps
The Power of Azure DevOps
 
Roadmap to Enterprise Quality
Roadmap to Enterprise QualityRoadmap to Enterprise Quality
Roadmap to Enterprise Quality
 
The Future is Here
The Future is HereThe Future is Here
The Future is Here
 
Evaluating Docker in the Enterprise - Getting Started
Evaluating Docker in the Enterprise - Getting StartedEvaluating Docker in the Enterprise - Getting Started
Evaluating Docker in the Enterprise - Getting Started
 
Performance testing with VSTs on- and off-premises
Performance testing with VSTs on-  and off-premisesPerformance testing with VSTs on-  and off-premises
Performance testing with VSTs on- and off-premises
 
Using REST with VSTS and TFS
Using REST with VSTS and TFSUsing REST with VSTS and TFS
Using REST with VSTS and TFS
 
Building Extensions in VSTS and TFS
Building Extensions in VSTS and TFSBuilding Extensions in VSTS and TFS
Building Extensions in VSTS and TFS
 
Adventures in enterprise architecture
Adventures in enterprise architectureAdventures in enterprise architecture
Adventures in enterprise architecture
 
Building with Visual Studio Online
Building with Visual Studio OnlineBuilding with Visual Studio Online
Building with Visual Studio Online
 
Introduction to Windows 8 Development
Introduction to Windows 8 DevelopmentIntroduction to Windows 8 Development
Introduction to Windows 8 Development
 
Visual studio 2012 - What's in it for me?
Visual studio 2012 - What's in it for me?Visual studio 2012 - What's in it for me?
Visual studio 2012 - What's in it for me?
 
Getting Started With the TFS Object Model
Getting Started With the TFS Object ModelGetting Started With the TFS Object Model
Getting Started With the TFS Object Model
 
What's Coming in Visual Studio v.Next
What's Coming in Visual Studio v.NextWhat's Coming in Visual Studio v.Next
What's Coming in Visual Studio v.Next
 
Getting Started with WP7 Development
Getting Started with WP7 DevelopmentGetting Started with WP7 Development
Getting Started with WP7 Development
 
TDC 2010 - VS2010 ALM - What's In It for Me
TDC 2010 - VS2010 ALM - What's In It for MeTDC 2010 - VS2010 ALM - What's In It for Me
TDC 2010 - VS2010 ALM - What's In It for Me
 
TDC 2010 - Migrating to TFS 2010 - Lessons Learned
TDC 2010 - Migrating to TFS 2010 - Lessons LearnedTDC 2010 - Migrating to TFS 2010 - Lessons Learned
TDC 2010 - Migrating to TFS 2010 - Lessons Learned
 
Tulsa TechFest 2010 - What's New in TFS 2010
Tulsa TechFest 2010 - What's New in TFS 2010Tulsa TechFest 2010 - What's New in TFS 2010
Tulsa TechFest 2010 - What's New in TFS 2010
 
Tulsa TechFest 2010 - Migrating to TFS 2010 - Lessons Learned
Tulsa TechFest 2010 - Migrating to TFS 2010 - Lessons LearnedTulsa TechFest 2010 - Migrating to TFS 2010 - Lessons Learned
Tulsa TechFest 2010 - Migrating to TFS 2010 - Lessons Learned
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Kürzlich hochgeladen (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Introduction to Windows 8 Development

  • 1. Introduction to Windows 8 Development Let’s Go Metro Jeff Bramwell w Heartland Developers Conference Director - Enterprise Architecture Thursday, September 6th, 2012 Farm Credit Services of America 10:15 AM Room 200 jbramwell@gmail.com|@jbramwell devmatter.blogspot.com
  • 2. Please Be Courteous! Please be courteous to your fellow attendees and Set your phones to vibrate or silent mode!
  • 3.
  • 4. Agenda • Tools • Runtime / Architecture • Development Features • Windows Store • Resources & Links • Questions
  • 6. Windows 8 SKUs X86/64 • Windows 8 • Targeted toward home users • Matches closest to Windows 7 “Home” editions • Windows 8 Pro • Targeted toward business and enthusiast users • Matches closest to Windows 7 Professional and Ultimate editions • Windows 8 Enterprise • Targeted toward businesses • Available only through Software Assurance ARM • Windows RT  Don’t confuse this with WinRT or Windows Runtime  • Pre-installed on ARM-based devices
  • 7. Get the Tools • Visual Studio 2012 • Visual Studio Express 2012 for Windows 8 (FREE) • Visual Studio Professional 2012 • Visual Studio Premium 2012 • Visual Studio Ultimate 2012 • Blend for Visual Studio 2012 • UI Design and Development • Optional • .NET Framework 4.5 • Included with Windows 8 • Installed with Visual Studio 2012 on non-Windows 8 devices
  • 8. UX / Runtime / Architecture
  • 9. What is “Metro w” • A “code” name  • Windows Store application • Content over chrome • Fast and fluid • Touch first • Snap and scale beautifully • Use of contracts • Application tile • Connected; Roam to the cloud • Authentically digital
  • 10. Windows Runtime (WinRT) • New programming model for Windows 8 • Supports C#, VB.NET, C++, and JavaScript • Supported on x86 and ARM architectures • Windows metadata provides cross-language support • Complete description of Windows Runtime • Allows for multi-language projection • Full IntelliSense • Asynchronous APIs • Windows.* namespaces include Windows Runtime types
  • 13. Creating a Windows 8 App • Visual Studio 2012 • Windows Store Templates • Several Project Types
  • 14. Roaming Data • Built-in data roaming capabilities • Uses Microsoft Account • Simple to use: Windows.Storage.ApplicationData.Current.RoamingSettings.Values["StoredValue"] = StoredValue.Text; • Use RoamingFolder for file-based data • Roaming storage quota = 100KB • If you exceed quota, nothing syncs (though it still persists) • Use HighPriority for preserving application context • Use a CompositeSettingValue to roam related items
  • 15. Contracts & Extensions Contracts Extensions • App to App Picking • Account picture provider • Play To • AutoPlay • Print • Background tasks • Search • Camera settings • Settings • Contact picker • Share • File activation • Game Explorer • Print task settings • Protocol activation • SSL/certificates
  • 16. File Picker • FileOpenPicker • Presents a list of files (as a list or thumbnails) for selection • SkyDrive support built in • Returns a Windows.Storage.StorageFile • FileSavePicker • Allows you to save a file to a selected location • SkyDrive support built in • Returns a Windows.Storage.StorageFile
  • 17. Settings Contract • Implemented via SettingsCommand • Displayed via User Control hosted in Popup • Various ways to implement • Widths of 346px or 646px supported
  • 18. App Bars • Similar in concept to menu bar in Windows Phone • Use top App Bar for Navigation • Use bottom App Bar for Commands • Use <AppBar /> XAML control to add an app bar to your app • Can create your own icons – or – utilize Segoe UI Symbol
  • 19. Application lifecycle Running NotRunning Suspended
  • 20. Application lifecycle • Use PreviousExecutionState when Launching • NotRunning • Running • Suspended • Terminated • ClosedByUser • Use SuspendingOperation.GetDeferral() when Suspending • No special check required when Resuming
  • 22. Windows Store • Integrated into Visual Studio 2012 • Open Developer Account • Reserve App Name • Good for 1 year • Acquire Developer License • Tied to Microsoft Account • License per machine • Free
  • 23. Windows Store (cont’d) • Edit App Manifest • Associate App with Windows Store • Based on reserved apps • Capture Screenshots • Create/Upload App Packages
  • 24. Summary • Tools • Windows 8 • Visual Studio 2012 • .NET Framework 4.5 • Runtime / Architecture • Windows Runtime • Development Features • Roaming Data • Contracts & Extensions • File Picker • Settings • App bars • Application Lifecycle • Windows Store • Registration • Packaging • Publishing
  • 26. Download Links • Windows 8 RTM • MSDN and Evaluation versions • Visual Studio Express 2012 for Windows 8 • The FREE version • Templarian Icons • Great, free Windows 8/Phone Icons • Syncfusion Metro Studio • Easily create great Windows 8/Phone Icons • Windows 8 Dev Camp in a Box • A wealth of resources and information
  • 27. Resources • How to Develop a Windows 8 App in 30 Days • Windows Metro Style Apps Forums • Windows 8 Code Samples • Windows 8 on Stack Overflow
  • 28. Related Sessions Thursday 09:00 – K1 – Keynote Session – Windows 8 and the Future of Client Development w/Pete Brown • Already over  10:15 – Session 201 – Getting Started with Windows 8 Development – Go Metro! • This session  10:15 – Session 401 – C++/CX and WinRT: Just Enough C++ To Get By On w/Michael Price • Same time as this session  Friday 13:15 – Session 208 – Understanding the Metro UX – A Developer Perspective w/Jeff Brand • You don’t want to miss this one! 14:15 – Session 309 – Cross-Platform, Cross-Device, Connected-Apps Oh My! w/Mike Benkovich • Building Connected Windows 8 Applications with Windows Azure

Hinweis der Redaktion

  1. Who am I and why do you care? 
  2. Explain the twitter-based game.
  3. Windows RT will not be available for general purchase. It will be available, pre-installed, on ARM devices only.Don’t confuse “Windows RT” with “WinRT”; They’re not the same thing. More information regarding SKUs at: http://en.Wikipedia.org/wiki/Windows_8_editions
  4. In most cases you don’t need to worry about the .NET Framework 4.5 since it is included with both Windows 8 and Visual Studio 2012. However, you may need to install it on application servers or other machines depending upon the target application type and dependencies.There is currently no Express SKU for building .NET/Desktop apps. A “Desktop” Express SKU has been announced for the Fall but no official release date has been announced  http://blogs.msdn.com/b/visualstudio/archive/2012/06/08/visual-studio-express-2012-for-windows-desktop.aspx
  5. Take a look at some of the out-of-the-box RT apps that ship with Windows 8… they all focus on content rather than chrome.They provide a “fully immersive” (full screen) experience.When designing “Metro” apps, design the user interface to allow for a great “touch first” experience. This includes gestures as well as just “touch”. Use the VS 2012 simulator to simulate touch experiences on a non-touch enabled screen.Use of contracts allow for a consistent usage pattern across applications on Windows 8.Utilizing the cloud allows your settings to follow you from device to device.Create your applications to utilize the features of the device; do not simulate “real world” interfaces (e.g. spiral bound notebooks). In other words, be authentically digital.
  6. Standard .NET applications are supported in Windows 8 in “desktop” mode only – not using the new “Metro” style.All WinRT assemblies are referenced automatically when you create a new Windows Store Application.Don’t confuse “Windows RT” with “WinRT”; They’re not the same thing. 
  7. If you exceed quota, the settings will be saved locally but will not sync to the cloud.High priority items must be under 8KB to roam as “high priority”. If the High priority item exceeds 8KB, it will be roamed as a “normal” setting (i.e. it could take a few minutes before it syncs).Applications can be ran/debugged:Locally (against development hardware)Locally in Simulator (Great for testing data roaming)Remotely (e.g. on a Windows 8 tablet)
  8. Main difference between Contracts &amp; Extensions is that contracts are between two apps whereas extensions allow you to extend Windows capabilities.
  9. StorageFile has various (asynchronous) read/write methods for reading/writing files.
  10. Settings Panel guidance:http://msdn.microsoft.com/en-us/library/windows/apps/hh770544.aspx
  11. Can use a tool like Syncfusion’s Metro Studio to build custom iconsNeed to add reference to App Bar guidelines