SlideShare uma empresa Scribd logo
1 de 29
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
Questions

Mais conteúdo relacionado

Mais procurados

The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
SPTechCon
 

Mais procurados (20)

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

Semelhante a Introduction to Windows 8 Development

August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
August Webinar - Water Cooler Talks: A Look into a Developer's WorkbenchAugust Webinar - Water Cooler Talks: A Look into a Developer's Workbench
August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
Howard Greenberg
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
Joe Jacob
 
Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1
drudolph11
 
State of jQuery - AspDotNetStorefront Conference
State of jQuery - AspDotNetStorefront ConferenceState of jQuery - AspDotNetStorefront Conference
State of jQuery - AspDotNetStorefront Conference
dmethvin
 
Project a day 2 introduction to android studio
Project a day 2   introduction to android studioProject a day 2   introduction to android studio
Project a day 2 introduction to android studio
Goran Djonovic
 
Usergroup 02 Berlin Windows7
Usergroup 02 Berlin Windows7Usergroup 02 Berlin Windows7
Usergroup 02 Berlin Windows7
mspgermany
 
Frokost seminar windows 8 februar 2013
Frokost seminar   windows 8 februar 2013Frokost seminar   windows 8 februar 2013
Frokost seminar windows 8 februar 2013
Olav Tvedt
 

Semelhante a Introduction to Windows 8 Development (20)

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

Mais de Jeff Bramwell

Mais de Jeff Bramwell (20)

The Power of Azure DevOps - Global Azure Day 2020
The Power of Azure DevOps - Global Azure Day 2020The Power of Azure DevOps - Global Azure Day 2020
The Power of Azure DevOps - Global Azure Day 2020
 
The Power of Azure DevOps
The Power of Azure DevOpsThe Power of Azure DevOps
The Power of Azure DevOps
 
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
 
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
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
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
vu2urc
 

Último (20)

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...
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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
 
[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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
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
 
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
 
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
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
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?
 

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 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. 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
  • 28.