Introduction to Windows
          8 Development

           Let’s Go Metro
Jeff Bramwell                        Tulsa TechFest 2012
                                                                  w
Director - Enterprise Architecture   Friday, October 12th, 2012
Farm Credit Services of America      10:30 AM
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 apps
•   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
Please Complete An Evaluation Form
          Your input is important!
       You can access Evaluation Forms at:
          http://TulsaTechFest.com
Introduction to Windows 8 Development
Questions

More Related Content

PPTX
Visual studio 2012 - What's in it for me?
PPTX
Develop business apps cross-platform development using visual studio with x...
PPTX
More Best Practices With Share Point Solutions
PPTX
Share point 2013 and sql server 2012 what to choose
PDF
Create Cross Platform Apps with Portable Class Libraries
PPT
Best Practices Configuring And Developing Share Point Solutions
PDF
Microsoft, Web Standards and OSS
PDF
Build 2017 - Whats new for Xamarin Devs
Visual studio 2012 - What's in it for me?
Develop business apps cross-platform development using visual studio with x...
More Best Practices With Share Point Solutions
Share point 2013 and sql server 2012 what to choose
Create Cross Platform Apps with Portable Class Libraries
Best Practices Configuring And Developing Share Point Solutions
Microsoft, Web Standards and OSS
Build 2017 - Whats new for Xamarin Devs

What's hot (20)

PPT
Installer benchmarking
PPTX
Moka .Net Study Week 01
PPTX
Cross-Platform Development
PPT
Android - Anroid Pproject
PPTX
Linux on azure
PPT
Vs2005p
PPTX
Entity Framework Core 1.0
PPT
Run your business on FOSS
PPTX
Entity Framework 7: What's New?
PPT
Extension Library - Viagra for XPages
PPTX
Who are you?
PDF
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
PPTX
SQL Server 2016 JSON
PDF
Show110 | Using the XPages Extension Library for the Real World
PPTX
Eric grover strategies for sharing code with windows 8 and windows phone 8 ...
PPTX
IBM Digital Experience Theme Customization
PPTX
Innovations in Sencha Tooling and Framework
PPTX
Lessons Learned from Building Windows 8 Store Apps with MVVM and XAML
PPTX
The Greatest Introduction to SharePoint Framework (SPFx) on earth!
PPT
what is J2EE? different between java and j2EE
Installer benchmarking
Moka .Net Study Week 01
Cross-Platform Development
Android - Anroid Pproject
Linux on azure
Vs2005p
Entity Framework Core 1.0
Run your business on FOSS
Entity Framework 7: What's New?
Extension Library - Viagra for XPages
Who are you?
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
SQL Server 2016 JSON
Show110 | Using the XPages Extension Library for the Real World
Eric grover strategies for sharing code with windows 8 and windows phone 8 ...
IBM Digital Experience Theme Customization
Innovations in Sencha Tooling and Framework
Lessons Learned from Building Windows 8 Store Apps with MVVM and XAML
The Greatest Introduction to SharePoint Framework (SPFx) on earth!
what is J2EE? different between java and j2EE
Ad

Similar to Introduction to Windows 8 Development (20)

PPTX
Android development
PPTX
Staying connected: An Overview of Announcements from Microsoft’s Connect();
PPTX
DevOps in the Microsoft world part 1
PDF
August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
PPTX
Diagnosing issues in your ASP.NET applications in production with Visual Stud...
PPT
Introduction to android sessions new
PDF
Android app development by abhi android
PPTX
Android app development
PPTX
Windows 8 DevUnleashed - Session 1
PPT
State of jQuery - AspDotNetStorefront Conference
PDF
Building Enterprise Grade Front-End Applications with JavaScript Frameworks
PDF
Next Step, Android Studio!
PPTX
Project a day 2 introduction to android studio
PDF
Android : Deep dive into developing MobileApp using Android
PDF
Android dev o_auth
PDF
Usergroup 02 Berlin Windows7
PDF
Introduction to Android Development and Security
PDF
Frokost seminar windows 8 februar 2013
PPTX
Android app devolopment
PDF
Web Tools for GemStone/S
Android development
Staying connected: An Overview of Announcements from Microsoft’s Connect();
DevOps in the Microsoft world part 1
August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
Diagnosing issues in your ASP.NET applications in production with Visual Stud...
Introduction to android sessions new
Android app development by abhi android
Android app development
Windows 8 DevUnleashed - Session 1
State of jQuery - AspDotNetStorefront Conference
Building Enterprise Grade Front-End Applications with JavaScript Frameworks
Next Step, Android Studio!
Project a day 2 introduction to android studio
Android : Deep dive into developing MobileApp using Android
Android dev o_auth
Usergroup 02 Berlin Windows7
Introduction to Android Development and Security
Frokost seminar windows 8 februar 2013
Android app devolopment
Web Tools for GemStone/S
Ad

More from Jeff Bramwell (20)

PPTX
The Power of Azure DevOps - Global Azure Day 2020
PPTX
The Power of Azure DevOps
PPTX
A Roadmap to Enterprise Quality
PPTX
The Power of Azure DevOps
PPTX
The Power of Azure DevOps
PPTX
Roadmap to Enterprise Quality
PPTX
The Future is Here
PPTX
Evaluating Docker in the Enterprise - Getting Started
PPTX
Performance testing with VSTs on- and off-premises
PPTX
Using REST with VSTS and TFS
PPTX
Building Extensions in VSTS and TFS
PPTX
Adventures in enterprise architecture
PPTX
Building with Visual Studio Online
PPTX
Getting Started With the TFS Object Model
PPTX
What's Coming in Visual Studio v.Next
PPTX
Getting Started with WP7 Development
PDF
TDC 2010 - VS2010 ALM - What's In It for Me
PDF
TDC 2010 - Migrating to TFS 2010 - Lessons Learned
PDF
Tulsa TechFest 2010 - What's New in TFS 2010
PDF
Tulsa TechFest 2010 - Migrating to TFS 2010 - Lessons Learned
The Power of Azure DevOps - Global Azure Day 2020
The Power of Azure DevOps
A Roadmap to Enterprise Quality
The Power of Azure DevOps
The Power of Azure DevOps
Roadmap to Enterprise Quality
The Future is Here
Evaluating Docker in the Enterprise - Getting Started
Performance testing with VSTs on- and off-premises
Using REST with VSTS and TFS
Building Extensions in VSTS and TFS
Adventures in enterprise architecture
Building with Visual Studio Online
Getting Started With the TFS Object Model
What's Coming in Visual Studio v.Next
Getting Started with WP7 Development
TDC 2010 - VS2010 ALM - What's In It for Me
TDC 2010 - Migrating to TFS 2010 - Lessons Learned
Tulsa TechFest 2010 - What's New in TFS 2010
Tulsa TechFest 2010 - Migrating to TFS 2010 - Lessons Learned

Recently uploaded (20)

PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
Human Computer Interaction Miterm Lesson
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
PPTX
Presentation - Principles of Instructional Design.pptx
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PDF
LMS bot: enhanced learning management systems for improved student learning e...
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
substrate PowerPoint Presentation basic one
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
Co-training pseudo-labeling for text classification with support vector machi...
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Early detection and classification of bone marrow changes in lumbar vertebrae...
giants, standing on the shoulders of - by Daniel Stenberg
Advancing precision in air quality forecasting through machine learning integ...
Human Computer Interaction Miterm Lesson
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Rapid Prototyping: A lecture on prototyping techniques for interface design
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
Electrocardiogram sequences data analytics and classification using unsupervi...
Presentation - Principles of Instructional Design.pptx
EIS-Webinar-Regulated-Industries-2025-08.pdf
LMS bot: enhanced learning management systems for improved student learning e...
Auditboard EB SOX Playbook 2023 edition.
4 layer Arch & Reference Arch of IoT.pdf
substrate PowerPoint Presentation basic one
A symptom-driven medical diagnosis support model based on machine learning te...
Co-training pseudo-labeling for text classification with support vector machi...

Introduction to Windows 8 Development

  • 1. Introduction to Windows 8 Development Let’s Go Metro Jeff Bramwell Tulsa TechFest 2012 w Director - Enterprise Architecture Friday, October 12th, 2012 Farm Credit Services of America 10:30 AM [email protected]|@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. Agenda • Tools • Runtime / Architecture • Development Features • Windows Store • Resources & Links • Questions
  • 5. 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
  • 6. 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
  • 7. UX / Runtime / Architecture
  • 8. What is “Metro w” • A “code” name  • Windows Store apps • Content over chrome • Fast and fluid • Touch first • Snap and scale beautifully • Use of contracts • Application tile • Connected; Roam to the cloud • Authentically digital
  • 9. 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
  • 12. Creating a Windows 8 App • Visual Studio 2012 • Windows Store Templates • Several Project Types
  • 13. 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
  • 14. 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
  • 15. 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
  • 16. Settings Contract • Implemented via SettingsCommand • Displayed via User Control hosted in Popup • Various ways to implement • Widths of 346px or 646px supported
  • 17. 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
  • 18. Application lifecycle Running NotRunning Suspended
  • 19. Application lifecycle • Use PreviousExecutionState when Launching • NotRunning • Running • Suspended • Terminated • ClosedByUser • Use SuspendingOperation.GetDeferral() when Suspending • No special check required when Resuming
  • 21. 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
  • 22. Windows Store (cont’d) • Edit App Manifest • Associate App with Windows Store • Based on reserved apps • Capture Screenshots • Create/Upload App Packages
  • 23. 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
  • 25. 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
  • 26. 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
  • 27. Please Complete An Evaluation Form Your input is important! You can access Evaluation Forms at: http://TulsaTechFest.com