SlideShare a Scribd company logo
1 of 25
A Developer's View of Windows
8


Andrei Marukovich
andrei.marukovich@lunarfrog.com
@taggedfrog
Agenda
• Developing for Classic Desktop
• Introduction to Metro UI
• Building Metro applications




                                   2
Is .NET dead?



                vs




                     3
Windows 8 platform

                                               HTML /
                                     C# / VB     JS
                                                          C / C++
                                                  or
                                                 SL
     Metro-style APIs

                                       CLR     Internet
                                                          Win32
                                               Explorer


                 Windows Kernel Services




                                                                    4
.NET 4.5 Framework
• Pre-installed in Windows 8
• Windows XP is not supported
• Use 4.0 runtime (same as 3.5 use 2.0 RT)




                                             5
Asynchronous development
• New data structures
• New async APIs
• New keywords in C# and VB
  • async
  • await




                              6
Demo
Async and Await




                  7
If it runs on a Windows 7,
it'll run on Windows 8 PC




                             8
Demo
 Metro UI




            9
App suspension
• Inactive apps are suspended by the OS:
  • Apps remain in memory
  • No CPU, Disk or Network consumed
  • All threads are suspended




                                           10
App lifecycle states


      Not started      Running



                                 Suspending



                    Suspended




                                              11
Demo
App lifecycle




                12
Windows 8 platform

                                                       HTML /
                                             C# / VB     JS
                Languages                                         C / C++
                                                          or
                                                         SL

                WinRT APIs
                                               CLR     Internet
Communication   Graphics/Media   Devices                          Win32
                                                       Explorer
            Application Model

                         Windows Kernel Services




                                                                        13
WinRT
• Object-oriented Win32 replacement
• Native, written in C++
• Based on COM
• .NET-like metadata
• Any language can be used to extend it
• Async everywhere (50ms rule)


                                          14
Windows 8 platform

HTML / CSS        DirectX          XAML                     HTML /
                                                  C# / VB     JS
                                                                       C / C++
 JavaScript                          C# / VB                   or
                    C / C++
IE 10 Engine                           CLR                    SL

                  WinRT APIs
                                                    CLR     Internet
Communication     Graphics/Media     Devices                           Win32
                                                            Explorer
               Application Model

                              Windows Kernel Services




                                                                             15
.NET Metro profile
• Subset of Client Profile
  •   No Remoting
  •   No System.Data
  •   No System.Web
  •   No private reflection, no Emit
  •   Some APIs replaced with async versions
  •   Some .NET classes moved to WinRT




                                               16
XAML for Metro
• New variation of XAML, close to Silverlight
• Standard controls
  • Button, TextBox, ComboBox, CheckBox, etc.
• New controls
  •   ProgressRing
  •   FlipView
  •   GridView
  •   ListView

                                                17
Demo
• Image Browser
  • Scans Pictures library and shows all the
    keywords
  • Allows to select a keyword
  • Shows all the images for the keyword
• Snapping
• Search integration
• FilePicker integration

                                               18
Demo
Developing Windows 8 apps




                            19
App packaging
                    • .appx file format (zip)

   Files / Assets
                    • Compiled app and
                      resources
                    • App Manifest
 AppXManifest.xml
                    • BlockMap
    BlockMap
                    • Digital signature
    Signature

   .appx package


                                                20
Installation
• Declarative approach
• Everything installed in one folder
• Installation is on per-user basis
  • Installation for first user
  • Registration for the next
• No custom actions
• Automatic updates

                                       21
How to start
• Main start point: http://dev.windows.com/
  •   Samples
  •   Metro style app reference and APIs
  •   Forums
  •   Windows 8 Developer Preview with developer
      tools (x64)


• Installation on a VM
  • VirtualBox 4.1.2+
  • VMware Workstation 8.0+
  • Hyper-V                                    22
Links
• BUILD conference videos
  • http://channel9.msdn.com/Events/BUILD/BUILD2011
  • 8 Traits of Great Metro Style Apps (Jensen Harris)



• Building Windows 8 blog
  • http://blogs.msdn.com/b/b8/




                                                         23
Q&A
lunarfrog.com/blog
  @taggedfrog




                     24
Thank you!


             25

More Related Content

What's hot

Microsoft .Net Framework
Microsoft .Net FrameworkMicrosoft .Net Framework
Microsoft .Net FrameworkRohit Rao
 
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference ...
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference ...Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference ...
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference ...Ken Cenerelli
 
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...Ken Cenerelli
 
How to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKHow to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKMirco Vanini
 
C++ in Windows Phone Apps - Overview
C++ in Windows Phone Apps - OverviewC++ in Windows Phone Apps - Overview
C++ in Windows Phone Apps - OverviewMirco Vanini
 

What's hot (7)

Microsoft .Net Framework
Microsoft .Net FrameworkMicrosoft .Net Framework
Microsoft .Net Framework
 
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference ...
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference ...Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference ...
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference ...
 
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...
 
How to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKHow to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDK
 
C++ in Windows Phone Apps - Overview
C++ in Windows Phone Apps - OverviewC++ in Windows Phone Apps - Overview
C++ in Windows Phone Apps - Overview
 
Deep Dive into WinRT
Deep Dive into WinRTDeep Dive into WinRT
Deep Dive into WinRT
 
Best DotNet Training in Delhi
Best   DotNet Training  in DelhiBest   DotNet Training  in Delhi
Best DotNet Training in Delhi
 

Viewers also liked

Решения для агропромышленных предприятий
Решения для агропромышленных предприятийРешения для агропромышленных предприятий
Решения для агропромышленных предприятийsystemgroups
 
All about data persistence in Windows 8
All about data persistence in Windows 8All about data persistence in Windows 8
All about data persistence in Windows 8Andrei Marukovich
 
Deceptive simplicity of async and await
Deceptive simplicity of async and awaitDeceptive simplicity of async and await
Deceptive simplicity of async and awaitAndrei Marukovich
 
м.а. шаронов к вопросу о моделировании когнитивных функций при проектировании...
м.а. шаронов к вопросу о моделировании когнитивных функций при проектировании...м.а. шаронов к вопросу о моделировании когнитивных функций при проектировании...
м.а. шаронов к вопросу о моделировании когнитивных функций при проектировании...Павел Барышников
 
Easter sunday 2013 [compatibility mode]
Easter sunday 2013 [compatibility mode]Easter sunday 2013 [compatibility mode]
Easter sunday 2013 [compatibility mode]Theresia Frida
 
П.Н. Барышников Философия It и мифы современного университета
П.Н. Барышников Философия It и мифы современного университетаП.Н. Барышников Философия It и мифы современного университета
П.Н. Барышников Философия It и мифы современного университетаПавел Барышников
 
Reactive Extensions for .NET
Reactive Extensions for .NETReactive Extensions for .NET
Reactive Extensions for .NETAndrei Marukovich
 
иллюзия субъективного опыта или отсутствующее сознание
иллюзия субъективного опыта или отсутствующее сознаниеиллюзия субъективного опыта или отсутствующее сознание
иллюзия субъективного опыта или отсутствующее сознаниеПавел Барышников
 
Kỹ thuật lập trình (khoa toán tin học)
Kỹ thuật lập trình (khoa toán tin học)Kỹ thuật lập trình (khoa toán tin học)
Kỹ thuật lập trình (khoa toán tin học)nhok_lovely
 
Решения для металлургии
Решения для металлургииРешения для металлургии
Решения для металлургииsystemgroups
 
The Differences in Attitude toward Education in UK and HK
The Differences in Attitude toward Education in UK and HKThe Differences in Attitude toward Education in UK and HK
The Differences in Attitude toward Education in UK and HKconteura
 
Using NuGet libraries in your application
Using NuGet libraries in your applicationUsing NuGet libraries in your application
Using NuGet libraries in your applicationAndrei Marukovich
 
Open Source Libraries for.NET developers
Open Source Libraries for.NET developersOpen Source Libraries for.NET developers
Open Source Libraries for.NET developersAndrei Marukovich
 
Intro and History of Account Planning
Intro and History of Account PlanningIntro and History of Account Planning
Intro and History of Account PlanningCorrie Wilder
 

Viewers also liked (17)

Решения для агропромышленных предприятий
Решения для агропромышленных предприятийРешения для агропромышленных предприятий
Решения для агропромышленных предприятий
 
Sharonov paper
Sharonov paperSharonov paper
Sharonov paper
 
All about data persistence in Windows 8
All about data persistence in Windows 8All about data persistence in Windows 8
All about data persistence in Windows 8
 
Deceptive simplicity of async and await
Deceptive simplicity of async and awaitDeceptive simplicity of async and await
Deceptive simplicity of async and await
 
м.а. шаронов к вопросу о моделировании когнитивных функций при проектировании...
м.а. шаронов к вопросу о моделировании когнитивных функций при проектировании...м.а. шаронов к вопросу о моделировании когнитивных функций при проектировании...
м.а. шаронов к вопросу о моделировании когнитивных функций при проектировании...
 
Easter sunday 2013 [compatibility mode]
Easter sunday 2013 [compatibility mode]Easter sunday 2013 [compatibility mode]
Easter sunday 2013 [compatibility mode]
 
П.Н. Барышников Философия It и мифы современного университета
П.Н. Барышников Философия It и мифы современного университетаП.Н. Барышников Философия It и мифы современного университета
П.Н. Барышников Философия It и мифы современного университета
 
Battlegraph
BattlegraphBattlegraph
Battlegraph
 
Reactive Extensions for .NET
Reactive Extensions for .NETReactive Extensions for .NET
Reactive Extensions for .NET
 
иллюзия субъективного опыта или отсутствующее сознание
иллюзия субъективного опыта или отсутствующее сознаниеиллюзия субъективного опыта или отсутствующее сознание
иллюзия субъективного опыта или отсутствующее сознание
 
Kỹ thuật lập trình (khoa toán tin học)
Kỹ thuật lập trình (khoa toán tin học)Kỹ thuật lập trình (khoa toán tin học)
Kỹ thuật lập trình (khoa toán tin học)
 
ATDD in practice
ATDD in practiceATDD in practice
ATDD in practice
 
Решения для металлургии
Решения для металлургииРешения для металлургии
Решения для металлургии
 
The Differences in Attitude toward Education in UK and HK
The Differences in Attitude toward Education in UK and HKThe Differences in Attitude toward Education in UK and HK
The Differences in Attitude toward Education in UK and HK
 
Using NuGet libraries in your application
Using NuGet libraries in your applicationUsing NuGet libraries in your application
Using NuGet libraries in your application
 
Open Source Libraries for.NET developers
Open Source Libraries for.NET developersOpen Source Libraries for.NET developers
Open Source Libraries for.NET developers
 
Intro and History of Account Planning
Intro and History of Account PlanningIntro and History of Account Planning
Intro and History of Account Planning
 

Similar to A Developer's View of Windows 8

Windows 8 Development Stack
Windows 8 Development StackWindows 8 Development Stack
Windows 8 Development StackDev2
 
Win rt fundamentals
Win rt fundamentalsWin rt fundamentals
Win rt fundamentalsKevin Stumpf
 
Introduction to Metro Applications
Introduction to Metro ApplicationsIntroduction to Metro Applications
Introduction to Metro ApplicationsMichael Collins
 
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...Gabriel Villa
 
Introduction to building apps for windows 8
Introduction to building apps for windows 8Introduction to building apps for windows 8
Introduction to building apps for windows 8Khalil Saleem
 
Windows 8 and the cloud a match made in heaven
Windows 8 and the cloud a match made in heavenWindows 8 and the cloud a match made in heaven
Windows 8 and the cloud a match made in heavenNoam Sheffer
 
Dot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement onlineDot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement onlineGaruda Trainings
 
Windows 8 App Developer Day
Windows 8 App Developer DayWindows 8 App Developer Day
Windows 8 App Developer DayPatric Boscolo
 
Porting tometro
Porting tometroPorting tometro
Porting tometrodogra09
 
Building apps with common code for windows 8 and windows phone 8 (WP8)
Building apps with common code for windows 8 and windows phone 8 (WP8)Building apps with common code for windows 8 and windows phone 8 (WP8)
Building apps with common code for windows 8 and windows phone 8 (WP8)Tamir Dresher
 
Windows 8 & JavaScript
Windows 8 & JavaScriptWindows 8 & JavaScript
Windows 8 & JavaScriptRobert MacLean
 
Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]vaishalisahare123
 
Win8 architecture for developers
Win8 architecture for developersWin8 architecture for developers
Win8 architecture for developersRobert MacLean
 
Keynote Rockford Lhotka on the Microsoft Development Platftorm
Keynote   Rockford Lhotka on the Microsoft Development PlatftormKeynote   Rockford Lhotka on the Microsoft Development Platftorm
Keynote Rockford Lhotka on the Microsoft Development PlatftormCode Mastery
 

Similar to A Developer's View of Windows 8 (20)

Windows 8 Development Stack
Windows 8 Development StackWindows 8 Development Stack
Windows 8 Development Stack
 
Win rt fundamentals
Win rt fundamentalsWin rt fundamentals
Win rt fundamentals
 
Windows 8 developer preview
Windows 8 developer previewWindows 8 developer preview
Windows 8 developer preview
 
Introduction to Metro Applications
Introduction to Metro ApplicationsIntroduction to Metro Applications
Introduction to Metro Applications
 
Windows 8
Windows 8Windows 8
Windows 8
 
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
 
Geek a-paloozaaa metro-xaml_appdev
Geek a-paloozaaa metro-xaml_appdevGeek a-paloozaaa metro-xaml_appdev
Geek a-paloozaaa metro-xaml_appdev
 
Introduction to building apps for windows 8
Introduction to building apps for windows 8Introduction to building apps for windows 8
Introduction to building apps for windows 8
 
Windows 8 and the cloud a match made in heaven
Windows 8 and the cloud a match made in heavenWindows 8 and the cloud a match made in heaven
Windows 8 and the cloud a match made in heaven
 
Dot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement onlineDot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement online
 
Windows 8 App Developer Day
Windows 8 App Developer DayWindows 8 App Developer Day
Windows 8 App Developer Day
 
Porting tometro
Porting tometroPorting tometro
Porting tometro
 
Eco system apps
Eco system appsEco system apps
Eco system apps
 
.Net + novas tecnologias + win8
.Net + novas tecnologias + win8.Net + novas tecnologias + win8
.Net + novas tecnologias + win8
 
Building apps with common code for windows 8 and windows phone 8 (WP8)
Building apps with common code for windows 8 and windows phone 8 (WP8)Building apps with common code for windows 8 and windows phone 8 (WP8)
Building apps with common code for windows 8 and windows phone 8 (WP8)
 
Microsoft .Net Technology
Microsoft .Net TechnologyMicrosoft .Net Technology
Microsoft .Net Technology
 
Windows 8 & JavaScript
Windows 8 & JavaScriptWindows 8 & JavaScript
Windows 8 & JavaScript
 
Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]
 
Win8 architecture for developers
Win8 architecture for developersWin8 architecture for developers
Win8 architecture for developers
 
Keynote Rockford Lhotka on the Microsoft Development Platftorm
Keynote   Rockford Lhotka on the Microsoft Development PlatftormKeynote   Rockford Lhotka on the Microsoft Development Platftorm
Keynote Rockford Lhotka on the Microsoft Development Platftorm
 

Recently uploaded

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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
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 Nanonetsnaman860154
 
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
 
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
 
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 WorkerThousandEyes
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
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
 

Recently uploaded (20)

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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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
 
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
 
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
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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...
 
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
 

A Developer's View of Windows 8

  • 1. A Developer's View of Windows 8 Andrei Marukovich andrei.marukovich@lunarfrog.com @taggedfrog
  • 2. Agenda • Developing for Classic Desktop • Introduction to Metro UI • Building Metro applications 2
  • 4. Windows 8 platform HTML / C# / VB JS C / C++ or SL Metro-style APIs CLR Internet Win32 Explorer Windows Kernel Services 4
  • 5. .NET 4.5 Framework • Pre-installed in Windows 8 • Windows XP is not supported • Use 4.0 runtime (same as 3.5 use 2.0 RT) 5
  • 6. Asynchronous development • New data structures • New async APIs • New keywords in C# and VB • async • await 6
  • 8. If it runs on a Windows 7, it'll run on Windows 8 PC 8
  • 10. App suspension • Inactive apps are suspended by the OS: • Apps remain in memory • No CPU, Disk or Network consumed • All threads are suspended 10
  • 11. App lifecycle states Not started Running Suspending Suspended 11
  • 13. Windows 8 platform HTML / C# / VB JS Languages C / C++ or SL WinRT APIs CLR Internet Communication Graphics/Media Devices Win32 Explorer Application Model Windows Kernel Services 13
  • 14. WinRT • Object-oriented Win32 replacement • Native, written in C++ • Based on COM • .NET-like metadata • Any language can be used to extend it • Async everywhere (50ms rule) 14
  • 15. Windows 8 platform HTML / CSS DirectX XAML HTML / C# / VB JS C / C++ JavaScript C# / VB or C / C++ IE 10 Engine CLR SL WinRT APIs CLR Internet Communication Graphics/Media Devices Win32 Explorer Application Model Windows Kernel Services 15
  • 16. .NET Metro profile • Subset of Client Profile • No Remoting • No System.Data • No System.Web • No private reflection, no Emit • Some APIs replaced with async versions • Some .NET classes moved to WinRT 16
  • 17. XAML for Metro • New variation of XAML, close to Silverlight • Standard controls • Button, TextBox, ComboBox, CheckBox, etc. • New controls • ProgressRing • FlipView • GridView • ListView 17
  • 18. Demo • Image Browser • Scans Pictures library and shows all the keywords • Allows to select a keyword • Shows all the images for the keyword • Snapping • Search integration • FilePicker integration 18
  • 20. App packaging • .appx file format (zip) Files / Assets • Compiled app and resources • App Manifest AppXManifest.xml • BlockMap BlockMap • Digital signature Signature .appx package 20
  • 21. Installation • Declarative approach • Everything installed in one folder • Installation is on per-user basis • Installation for first user • Registration for the next • No custom actions • Automatic updates 21
  • 22. How to start • Main start point: http://dev.windows.com/ • Samples • Metro style app reference and APIs • Forums • Windows 8 Developer Preview with developer tools (x64) • Installation on a VM • VirtualBox 4.1.2+ • VMware Workstation 8.0+ • Hyper-V 22
  • 23. Links • BUILD conference videos • http://channel9.msdn.com/Events/BUILD/BUILD2011 • 8 Traits of Great Metro Style Apps (Jensen Harris) • Building Windows 8 blog • http://blogs.msdn.com/b/b8/ 23