building your first windows 8 application with winrt, xaml and html

10
Building your first Windows 8 App Corey Miller Email [email protected] Blog http://www.xamlmammal.com/ Twitter @xamlmammal

Upload: code-mastery

Post on 13-May-2015

1.311 views

Category:

Technology


2 download

DESCRIPTION

Presentations from Code Mastery-ChicagoCorey Miller, Associate Lead Consultant, Microsoft MVP

TRANSCRIPT

Page 1: Building your first Windows 8 Application with WinRT, XAML and HTML

Building your first Windows 8 AppCorey Miller

Email [email protected]

Blog http://www.xamlmammal.com/

Twitter @xamlmammal

Page 2: Building your first Windows 8 Application with WinRT, XAML and HTML

Agenda• Introduction to Windows 8 Apps

– “Formerly Known As” Metro Apps

• File > New Demo

– “What’s Available”

• Simple MVVM Sample Demo

– “What’s different”

• App Complete Demo

– “Finished, What’s next”

• WinRt & WinJs Discussion

– “What should I use?”

Page 3: Building your first Windows 8 Application with WinRT, XAML and HTML

Why Windows 8

Page 4: Building your first Windows 8 Application with WinRT, XAML and HTML

Metro

• WPF is NOT dead!

• Metro is the next thing (Focus)

Page 5: Building your first Windows 8 Application with WinRT, XAML and HTML

Demo Time!

Page 6: Building your first Windows 8 Application with WinRT, XAML and HTML

I Lied… Win 8 XAML • Graphics

– OpacityMask, Clips, Corner Radius, custom easing, & bitmap effects.

– RadialGradientBrush, Bitmap Tiles, & VideoBrush

• Controls

– Pivot and Panorama are out

– FlipView, Semantic Zoom, and GridView are new

– No Behaviors.

• Resources

– No Custom Markup Extensions

– No DataTemplate DataType support

Page 7: Building your first Windows 8 Application with WinRT, XAML and HTML

More Win 8 XAML• Binding

– Like SL, No priority or multibinding– Missing TargetNullValue and StringFormat

• (More Converters or MVVM)

– Loaded is the only RoutedEvent support for EventTriggers– You cannot debug bindings like in SL5

• Animations– Non Hardware animations must set EnableDependentAnimation– More themes and transitions are available– No more “vsm:” when referencing visual state manager

• Interactions– No MouseLeftButtonDown instead Pointer (ex. PointerPressed)– IsRightTapEnabled for context and right button down

Page 8: Building your first Windows 8 Application with WinRT, XAML and HTML

Demo Time!

Page 9: Building your first Windows 8 Application with WinRT, XAML and HTML

Important Url’s• Hands On Html 5

– http://ie.microsoft.com/testdrive/Graphics/hands-on-css3/Default.html

• Windows 8 App Samples

– http://code.msdn.microsoft.com/windowsapps/Windows-8-Modern-Style-App-Samples

Page 10: Building your first Windows 8 Application with WinRT, XAML and HTML

Thank you!www.magenic.com

Corey Miller

Email [email protected]

Blog http://www.xamlmammal.com/

Twitter @xamlmammal