What’s New In Silverlight 5<br />William J. Steele<br />Sr. Technology Specialist<br />Microsoft Corporation<br />
Focused on your top asks:<br />
Agenda<br />What’s new in Silverlight 5?<br />The features available in Silverlight 5 Beta<br />The features not included ...
The features available in Beta<br />Debugging Data Bindings in XAML<br />Multiple Click Count<br />Implicit Data Templates...
The features available in Beta (cont…)<br />Text Searching<br />Multiple Window Support<br />Ancestor Relative Source Bind...
The features not included in Beta<br />Improved power awareness APIs.<br />Remote control support, allowing users to contr...
Debugging Data Bindings in XAML<br />Set breakpoints on XAML lines that have {Binding} syntax<br />Use Conditional Breakpo...
Debugging Databinding<br />Can you really set a breakpoint in XAML?<br />demo <br />
Implicit Data Templates<br />Declare multiple Data Templates<br />Dynamically load template based on Data Type<br />
Advanced Text Improvements<br />Silverlight 5v supports advanced text improvements like:<br />Character Spacing<br />Line ...
Multiple Click Count<br />ClickCount property present in the MouseButtonEventArgs allows you to check how many times a use...
Multiple Click Count<br />The last time I heard something go Click, Click, Click… it blew up!<br />demo <br />
Binding on Style Setter<br />Set data binding directly in Style Setter<br />
Text Searching<br />You can now search text inside a ComboBox or a ListBox<br />Can’t search for multiple entries<br />
Advanced Text Searching<br />Is Fast Listbox Searching Actually Possible?<br />demo <br />
Ancestor Relative Source Binding<br />This feature was already available in WPF<br />You can now bind to the relative ance...
Custom Markup Extension<br />Markup extensions allow code to be run at XAML parse time for both properties and event handl...
File Access<br />Access any file or directory if your application is trusted<br />Sign XAP to trust your application to ru...
Multiple Window Support<br />You can now open extra Windows from an Out-of-Browser Silverlight application<br />Your appli...
Multiple Window Support<br />Hmmm… but what do I do if I need more than my fair share?<br />demo <br />
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be...
Upcoming SlideShare
Loading in...5
×

Whats newinsl5

245

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
245
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Improved power awareness prevents the screen saver from being shown while watching video and allows the computer to sleep when video is not active.Remote control support, allowing users to control media playbackDRM advancements that allow seamless switching between DRM media sources.Enhanced OpenType support.Support for Postscript vector printing enables users to create reports and documents, including the ability to create a virtual print view different from what is shown on the screen.The DataContextChanged event is being introduced. WS-Trust support: Security Assertion Markup Language authentication token.Call existing unmanaged code directly from within Silverlight with P/Invoke.
  • Whats newinsl5

    1. 1. What’s New In Silverlight 5<br />William J. Steele<br />Sr. Technology Specialist<br />Microsoft Corporation<br />
    2. 2. Focused on your top asks:<br />
    3. 3. Agenda<br />What’s new in Silverlight 5?<br />The features available in Silverlight 5 Beta<br />The features not included in Silverlight 5 Beta<br />Getting Started with Silverlight 5 Beta<br />Question and Answers<br />
    4. 4. The features available in Beta<br />Debugging Data Bindings in XAML<br />Multiple Click Count<br />Implicit Data Templates<br />Advanced Text Improvements<br />Character Spacing<br />Line Stacking<br />Multi Column Text<br />Binding on Style Setter<br />
    5. 5. The features available in Beta (cont…)<br />Text Searching<br />Multiple Window Support<br />Ancestor Relative Source Binding<br />Custom Markup Extension<br />File Access<br />Low Letancy Sound and Variable Speed Playback<br />3D Support<br />
    6. 6. The features not included in Beta<br />Improved power awareness APIs.<br />Remote control support, allowing users to control media playback<br />DRM advancements that allow seamless switching between DRM media sources.<br />Enhanced OpenType support.<br />Support for Postscript vector printing.<br />The DataContextChangedevent. <br />Security Assertion Markup Language authentication token.<br />Call existing unmanaged code directly from Silverlight with P/Invoke.<br />
    7. 7. Debugging Data Bindings in XAML<br />Set breakpoints on XAML lines that have {Binding} syntax<br />Use Conditional Breakpoints<br />If Silverlight 5 Tools are installed, you can debug Silverlight 4 XAML too<br />
    8. 8. Debugging Databinding<br />Can you really set a breakpoint in XAML?<br />demo <br />
    9. 9. Implicit Data Templates<br />Declare multiple Data Templates<br />Dynamically load template based on Data Type<br />
    10. 10. Advanced Text Improvements<br />Silverlight 5v supports advanced text improvements like:<br />Character Spacing<br />Line Stacking<br />Multi Column Text<br />
    11. 11. Multiple Click Count<br />ClickCount property present in the MouseButtonEventArgs allows you to check how many times a user clicked on the UIElement<br />
    12. 12. Multiple Click Count<br />The last time I heard something go Click, Click, Click… it blew up!<br />demo <br />
    13. 13. Binding on Style Setter<br />Set data binding directly in Style Setter<br />
    14. 14. Text Searching<br />You can now search text inside a ComboBox or a ListBox<br />Can’t search for multiple entries<br />
    15. 15. Advanced Text Searching<br />Is Fast Listbox Searching Actually Possible?<br />demo <br />
    16. 16. Ancestor Relative Source Binding<br />This feature was already available in WPF<br />You can now bind to the relative ancestor elements very easily<br />
    17. 17. Custom Markup Extension<br />Markup extensions allow code to be run at XAML parse time for both properties and event handlers<br />It also enables cutting-edge MVVM support<br />
    18. 18. File Access<br />Access any file or directory if your application is trusted<br />Sign XAP to trust your application to run in elevated mode<br />
    19. 19. Multiple Window Support<br />You can now open extra Windows from an Out-of-Browser Silverlight application<br />Your application must be Trusted<br />If you don’t enable Elevated Trust for your OOB app, it will throw an UnauthorizedAccessException<br />Once you close the Main Window, other Windows will close automatically<br />
    20. 20. Multiple Window Support<br />Hmmm… but what do I do if I need more than my fair share?<br />demo <br />
    21. 21. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.<br />The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.<br />
    22. 22. Focused on your top asks:<br />
    23. 23. Binding Style Setters<br />How do I change styles without shipping new XAML?<br />Can I set the styles in the database?<br />demo <br />
    24. 24. MVVM Enhancements<br />Binding In Style Setters<br />ImplicitDataTemplates<br />RelativeSource Ancestor Bindings<br />Databinding Debugging<br />Custom Markup Extensions<br />DataContextChangedEvent<br />UpdateSourceTrigger<br />WCF RIA Services Enhancements<br />Text, Printing & Media<br />
    25. 25. WCF RIA Services SP2 for Silverlight 5<br />announcing<br />
    26. 26. WCF RIA Services for Silverlight 5<br />Complex Types (SP1)<br />Custom Client<br />Code Gen(SP1)<br />EF Code First<br />(coming soon)<br />demo<br />DateTimeOffset<br />MVVM Support<br />
    27. 27. But Wait, There’s More<br />Binding In Style Setters<br />ImplicitDataTemplates<br />RelativeSource Ancestor Bindings<br />Databinding Debugging<br />Custom Markup Extensions<br />DataContextChangedEvent<br />UpdateSourceTrigger<br />WCF RIA Services Enhancements<br />Text, Printing & Media<br />Text<br />Printing<br />Media<br />
    28. 28. Text Enhancements<br />Cum sociisnatoquepenatibus et magnis dis parturient montes, nasceturridiculus mus. Pellentesque habitant morbitristiquesenectus et netus et malesuada fames ac turpisegestas. Vivamusenim dolor, molestie at auctor id, auctorultrices nisi. Curabitururnalorem, luctushendreritdapibusquis, facilisissedorci. Aliquamnuncmassa, placerat id pretiumeget, luctus sit amet diam. Vestibulum ante ipsumprimis in faucibusorciluctus et ultricesposuerecubiliaCurae; Pellentesquefermentumneque at nislbibendumcursus. Aliquamsollicitudineliteununcplacerat et pulvinarmauriscondimentum. Donecsedsapienelit, velcondimentumjusto. Cum sociisnatoquepenatibus et magnis dis parturient montes, nasceturridiculus mus. Ututodionunc. Maecenas vitae quam urna. Nulla a ante imperdietsemtinciduntporta. Donecesttellus, imperdietegetullamcorpereu, laoreetvellorem. Fusceornarenisl<br />Linked Text Containers<br />Flow Rich Text from one container to another<br />Dynamically flows on resize<br />mollis lacus cursus semper suscipiturnaultricies. Phasellus magna justo, commodosodalesauctornec, euismod vitae purus.<br />Vivamusdignissimfeugiattristique. Crasaliquetsapien non justosagittisimperdiet. In a velitmauris, eusodales magna. Fuscelectuslectus, blandit non semper vitae, cursusutpurus. Vestibulumquisaliquamaugue. Morbiid estseddiamimperdietpretium vitae a turpis. Sedvelsapienarcu. Loremipsum dolor sit amet, consecteturadipiscingelit. Suspendisse ac diamut ante imperdietlacinia. Integer sit ametjusto sit amettortor<br />facilisis id sit ametaugue. Etiam in risusveleratmolestieviverra. Suspendissepellentesquebibendumsagittis. Etiamconvallisleo at dui ornareegetelementumodio dictum. Integer tempus ultricieslectus. Maecenas dictum ipsum id nisladipiscingeuiaculistortorsuscipit. Etiamsedsapienneque, in ultricies magna. Aliquam in nisl et lectusbibendumvestibulum. Donecsuscipit, velit vitae convallisaccumsan, tortor magna dignissimpurus, sedconvallisorcitortorsed sem. Crasquisest id turpiscongueporta. Proinpharetramattisnullaquisvestibulum.<br /><RichTextBox<br />OverflowContentTarget="{Binding ElementName=overflow1}"><br /><RichTextBoxOverflow x:Name="overflow1"OverflowContentTarget="{BindingElementName=overflow2}"><br /><RichTextBoxOverflow x:Name="overflow2"OverflowContentTarget="{BindingElementName=overflow3}"><br />...<br />Utin sapien id maurisegestasrhoncus a egeterat. Vivamustempor tempus quam facilisisdapibus. Curabiturvolutpatipsum vitae tortortinciduntsedmalesuadaurnatincidunt. Quisqueporttitor, neque id malesuadafaucibus, quam leoauctornisl, quisaliquetenim ligula utodio. Etiamvelturpis magna. Crasiaculisest sem. Pellentesquemalesuada, liberoeutemportempor, tellusipsumdignissimsapien, id facilisisaugueipsum vitae quam. Crasquisimperdietleo. In orcipurus, placerat ac ultricies in, elementum vitae turpis. Nunclectussapien, sagittis id luctusut, hendreritutmassa. Sedpurussapien, pharetra id faucibusnec, semper id lacus. Phasellus et lectusleo, eget<br />demo<br />adipiscinglorem. Donecfermentum lacus dolor. Etiamlaoreettristique nisi, sit ametconvallisnunclacinia et. Integer aliquam, magna ac porttitorcongue, estliberoconsectetur lacus, lobortisportaorcirisusnec magna. Integer sapienpurus, volutpat sit ametvehicula vitae, accumsan a felis. Sed a nullavelenimlaoreetconsequat. Nullautnequemassa, at semper enim.<br />risusnec magna. Integer sapienpurus, volutpat sit ametvehicula vitae, accumsan a felis. Sed a nullavelenimlaoreetconsequat. Nullautnequemassa, at semper enim.<br />
    29. 29. Text Clarity<br />Coming Soon<br />post beta<br />Sharpens text by snapping with pixels<br />Great for low res devices<br />
    30. 30. Coming Soon<br />post beta<br />Bitmap<br />Vector<br />Vector Printing<br />
    31. 31. Trick PlayWhere did they joke about…<br />Coming Soon<br />post beta<br />Speed through videos, search for sounds<br />New dimension to search<br />No “Alvin & The Chipmunks”<br />demo<br />
    32. 32. Silverlight 5 Summary<br />Questions?<br />Adding productivity & robustness with<br />Databinding Enhancements & Debugging<br />Better Text & Printing <br />Enabling Next Gen Media Players<br />Silverlight 5 ships second half 2011<br />Binding In Style Setters<br />ImplicitDataTemplates<br />RelativeSource Ancestor Bindings<br />Custom Markup Extensions<br />Databinding Debugging<br />Binding to Custom Objects<br />DataContextChanged Event<br />UpdateSourceTrigger<br />WCF RIA Services Enhancements<br />Text, Printing & Media<br />
    33. 33. Additional Sessions<br />Questions?<br />Wednesday<br />Tips for Improving Performance in Silverlight Applications5:00 PM w/Mike Cook<br />Graphics & 3D with Silverlight 53:30 PM w/Aaron Oneal <br />Thursday<br />Advanced Features in Silverlight 53:00pm w/Nick Kramer<br />Please provide us feedback on the beta!<br />Steve.Lasker@Microsoft.com<br />http://Blogs.MSDN.com/SteveLasker<br />
    34. 34. Resources<br />WCF RIA Services Page: http://silverlight.net/riaservices<br />Silverlight.net<br />
    35. 35. Binding Style Setters<br />How do I change styles without shipping new XAML?<br />Can I set the styles in the database?<br />demo <br />
    36. 36. MVVM Enhancements<br />Binding In Style Setters<br />ImplicitDataTemplates<br />RelativeSource Ancestor Bindings<br />Databinding Debugging<br />Custom Markup Extensions<br />DataContextChangedEvent<br />UpdateSourceTrigger<br />WCF RIA Services Enhancements<br />Text, Printing & Media<br />
    37. 37. WCF RIA Services SP2 for Silverlight 5<br />announcing<br />
    38. 38. But Wait, There’s More<br />Binding In Style Setters<br />ImplicitDataTemplates<br />RelativeSource Ancestor Bindings<br />Databinding Debugging<br />Custom Markup Extensions<br />DataContextChangedEvent<br />UpdateSourceTrigger<br />WCF RIA Services Enhancements<br />Text, Printing & Media<br />Text<br />Printing<br />Media<br />
    39. 39. Text Enhancements<br />Cum sociisnatoquepenatibus et magnis dis parturient montes, nasceturridiculus mus. Pellentesque habitant morbitristiquesenectus et netus et malesuada fames ac turpisegestas. Vivamusenim dolor, molestie at auctor id, auctorultrices nisi. Curabitururnalorem, luctushendreritdapibusquis, facilisissedorci. Aliquamnuncmassa, placerat id pretiumeget, luctus sit amet diam. Vestibulum ante ipsumprimis in faucibusorciluctus et ultricesposuerecubiliaCurae; Pellentesquefermentumneque at nislbibendumcursus. Aliquamsollicitudineliteununcplacerat et pulvinarmauriscondimentum. Donecsedsapienelit, velcondimentumjusto. Cum sociisnatoquepenatibus et magnis dis parturient montes, nasceturridiculus mus. Ututodionunc. Maecenas vitae quam urna. Nulla a ante imperdietsemtinciduntporta. Donecesttellus, imperdietegetullamcorpereu, laoreetvellorem. Fusceornarenisl<br />Linked Text Containers<br />Flow Rich Text from one container to another<br />Dynamically flows on resize<br />mollis lacus cursus semper suscipiturnaultricies. Phasellus magna justo, commodosodalesauctornec, euismod vitae purus.<br />Vivamusdignissimfeugiattristique. Crasaliquetsapien non justosagittisimperdiet. In a velitmauris, eusodales magna. Fuscelectuslectus, blandit non semper vitae, cursusutpurus. Vestibulumquisaliquamaugue. Morbiid estseddiamimperdietpretium vitae a turpis. Sedvelsapienarcu. Loremipsum dolor sit amet, consecteturadipiscingelit. Suspendisse ac diamut ante imperdietlacinia. Integer sit ametjusto sit amettortor<br />facilisis id sit ametaugue. Etiam in risusveleratmolestieviverra. Suspendissepellentesquebibendumsagittis. Etiamconvallisleo at dui ornareegetelementumodio dictum. Integer tempus ultricieslectus. Maecenas dictum ipsum id nisladipiscingeuiaculistortorsuscipit. Etiamsedsapienneque, in ultricies magna. Aliquam in nisl et lectusbibendumvestibulum. Donecsuscipit, velit vitae convallisaccumsan, tortor magna dignissimpurus, sedconvallisorcitortorsed sem. Crasquisest id turpiscongueporta. Proinpharetramattisnullaquisvestibulum.<br /><RichTextBox<br />OverflowContentTarget="{Binding ElementName=overflow1}"><br /><RichTextBoxOverflow x:Name="overflow1"OverflowContentTarget="{BindingElementName=overflow2}"><br /><RichTextBoxOverflow x:Name="overflow2"OverflowContentTarget="{BindingElementName=overflow3}"><br />...<br />Utin sapien id maurisegestasrhoncus a egeterat. Vivamustempor tempus quam facilisisdapibus. Curabiturvolutpatipsum vitae tortortinciduntsedmalesuadaurnatincidunt. Quisqueporttitor, neque id malesuadafaucibus, quam leoauctornisl, quisaliquetenim ligula utodio. Etiamvelturpis magna. Crasiaculisest sem. Pellentesquemalesuada, liberoeutemportempor, tellusipsumdignissimsapien, id facilisisaugueipsum vitae quam. Crasquisimperdietleo. In orcipurus, placerat ac ultricies in, elementum vitae turpis. Nunclectussapien, sagittis id luctusut, hendreritutmassa. Sedpurussapien, pharetra id faucibusnec, semper id lacus. Phasellus et lectusleo, eget<br />demo<br />adipiscinglorem. Donecfermentum lacus dolor. Etiamlaoreettristique nisi, sit ametconvallisnunclacinia et. Integer aliquam, magna ac porttitorcongue, estliberoconsectetur lacus, lobortisportaorcirisusnec magna. Integer sapienpurus, volutpat sit ametvehicula vitae, accumsan a felis. Sed a nullavelenimlaoreetconsequat. Nullautnequemassa, at semper enim.<br />risusnec magna. Integer sapienpurus, volutpat sit ametvehicula vitae, accumsan a felis. Sed a nullavelenimlaoreetconsequat. Nullautnequemassa, at semper enim.<br />
    40. 40. Text Clarity<br />Coming Soon<br />post beta<br />Sharpens text by snapping with pixels<br />Great for low res devices<br />
    41. 41. Coming Soon<br />post beta<br />Bitmap<br />Vector<br />Vector Printing<br />
    42. 42. Trick PlayWhere did they joke about…<br />Coming Soon<br />post beta<br />Speed through videos, search for sounds<br />New dimension to search<br />No “Alvin & The Chipmunks”<br />demo<br />
    43. 43. Silverlight 5 Summary<br />Questions?<br />Adding productivity & robustness with<br />Databinding Enhancements & Debugging<br />Better Text & Printing <br />Enabling Next Gen Media Players<br />Silverlight 5 ships second half 2011<br />Binding In Style Setters<br />ImplicitDataTemplates<br />RelativeSource Ancestor Bindings<br />Custom Markup Extensions<br />Databinding Debugging<br />Binding to Custom Objects<br />DataContextChanged Event<br />UpdateSourceTrigger<br />WCF RIA Services Enhancements<br />Text, Printing & Media<br />
    44. 44. Additional Sessions<br />Questions?<br />Wednesday<br />Tips for Improving Performance in Silverlight Applications5:00 PM w/Mike Cook<br />Graphics & 3D with Silverlight 53:30 PM w/Aaron Oneal <br />Thursday<br />Advanced Features in Silverlight 53:00pm w/Nick Kramer<br />Please provide us feedback on the beta!<br />Steve.Lasker@Microsoft.com<br />http://Blogs.MSDN.com/SteveLasker<br />
    45. 45. Resources<br />WCF RIA Services Page: http://silverlight.net/riaservices<br />Silverlight.net<br />
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×