WPF Today and Tomorrow Laurent Bugnion Senior User Experience Developer IdentityMine
Sep 03, 2014
WPF Today and TomorrowLaurent BugnionSenior User Experience DeveloperIdentityMine
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
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
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
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
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
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;
Pixel shaders
videoDavid Teitlebaum (PDC08):http://channel9.msdn.com/pdc2008/PC07/
IdentityMine Surface applications:http://www.youtube.com/results?search_query=identitymine
Stay connected
downloadshttp://blog.galasoft.ch
http://www.techdays.ch