techdays switzerland 2009

15
WPF Today and Tomorrow Laurent Bugnion Senior User Experience Developer IdentityMine

Upload: laurent-bugnion

Post on 03-Sep-2014

2.858 views

Category:

Technology


2 download

DESCRIPTION

Slides for my TechDays Switzerland presentation Source code available at http://www.galasoft.ch/mydotnet/articles/resources/techdaysch09/LobDemo.zip Pixel Shaders video at https://cid-40cffde85f1ab56a.skydrive.live.com/self.aspx/Videos/TechDaysCH09/ShaderVideo.wmv

TRANSCRIPT

Page 1: TechDays Switzerland 2009

WPF Today and TomorrowLaurent BugnionSenior User Experience DeveloperIdentityMine

Page 2: TechDays Switzerland 2009

About…Laurent Bugnion

.NET (Client App Dev, WPF, Silverlight)WPF Disciple, Silverlight InsiderAuthor of « Silverlight 2 Unleashed »Microsoft MVP, MCTS (WPF)http://[blog|www].galasoft.chhttp://www.identitymine.comTwitter: @LBugnion

Page 3: TechDays Switzerland 2009

Creating a LOB app

demo Toolkit: http://wpf.codeplex.com

MVVM: http://msdn.microsoft.com/en-us/magazine/dd419663.aspx

Lab: http://tinyurl.com/WPFLOB

Page 4: TechDays Switzerland 2009

More features…Search, RowDetail

http://tinyurl.com/WPFLOB

Page 5: TechDays Switzerland 2009

More features…Printing

http://tinyurl.com/WPFLOB

Page 6: TechDays Switzerland 2009

More features…Styling

http://tinyurl.com/WPFLOB

Page 7: TechDays Switzerland 2009

More features…Final

http://tinyurl.com/WPFLOB

Page 8: TechDays Switzerland 2009

WPF FuturesMultitouch / Windows 7

Multitouch is coming (Natural User Interface)

Surface experience is leveraged for Win7

WPF is ready for Windows 7Jump List integrationThumbnail customization

Page 9: TechDays Switzerland 2009

WPF FuturesXAML 4 / C# 4

Improvement of the languages will improve WPF too!

http://channel9.msdn.com/pdc2008/TL36/(XAML)

Unifying the different XAML versionsNames reference, Types, Generics, Delegates, Arguments, Factory Methods…

http://channel9.msdn.com/pdc2008/TL16/(C#)

More dynamicBetter interoperability

Page 10: TechDays Switzerland 2009

WPF FuturesPixel shaders

Replacement for BitmapEffectsToo inefficient (no GPU acceleration)Will no-op in WPF 4

Exception: Blur and DropShadow

Highly efficient, parallel computingOptimized for GPU

Page 11: TechDays Switzerland 2009

Pixel Shaders (HLSL)float4 myColor = { 0.5f, 0.2f, 0.4f, 0.2f };float4 colorFilter = {0.0f, 0.0f, 1.0f, 1.0f};float4 result = myColor * colorFilter;

<This is FOUR TIMES as fast as doing these operations separately, since they’re done in parallel>

result == {0.0f, 0.0f, 0.4f, 0.2f}

{result.x, result.y, result.z, result.w} …equivalent to {result.r, result,g, result.b, result.a}

<Grid> <Grid.Effect> <MyEffect /> </Grid.Effect></Grid>

Grid g = new Grid();MyEffect me = new MyEffect();g.Effect = me;

Page 12: TechDays Switzerland 2009

Pixel shaders

videoDavid Teitlebaum (PDC08):http://channel9.msdn.com/pdc2008/PC07/

IdentityMine Surface applications:http://www.youtube.com/results?search_query=identitymine

Page 13: TechDays Switzerland 2009

Pixel Shaders: Shazzamby Walt Ritscher

demo http://shazzam-tool.com/

Page 15: TechDays Switzerland 2009