Silverlight 5 is coming next year (2011) and this blog post will tell you what you need to know before the beta ships. First, let me address people saying that it is dead after PDC 2010. I believe that it's best to see what the market is doing, not the vendor. Below is a list of companies that are developing Silverlight 4 applications shown during the Silverlight Firestarter. Some of the companies have shipped and some haven't. It's just great to see the actual company names that are working on Silverlight instead of "people are developing for Silverlight".
The next thing that I wanted to point out was that HTML5, WPF and Silverlight can co-exist. In case you missed Scott Gutherie's keynote, they actually had a slide with all three stacked together. This shows Microsoft will be heavily investing in each technology. Even I, a Silverlight developer, am reading Pro HTML5.
Microsoft said that according to the Silverlight Feature Voting site, 21k votes were entered. Microsoft has implemented about 70% of these votes in Silverlight 5. That is an amazing number, and I am crossing my fingers that Microsoft bundles Silverlight with Windows 8.
Let's get started… what's new in Silverlight 5? I am going to show you some great application and actual code shown during the Firestarter event.
Media
- Hardware Video Decode – Instead of using CPU to decode, we will offload it to GPU. This will allow netbooks, etc to play videos.
- Trickplay – Variable Speed Playback – Pitch Correction (If you speed up someone talking they won't sound like a chipmunk).
- Power Management – Less battery when playing video. Screensavers will no longer kick in if watching a video. If you pause a video then screensaver will kick in.
- Remote Control Support – This will allow users to control playback functions like Pause, Rewind and Fastforward.
- IIS Media Services 4 has shipped and now supports Azure.
Layout Transitions – Just with a few lines of XAML you can create a really rich experience that is not using Storyboards or animations.
1 2 3 4 5 6 7 | < VisualStateManager.LoadTransition > < LoadTransition StartXOffset = "300" GeneratedDuration = "0:0:1.0" StartOpacity = "0.2" > < LoadTransition.GeneratedEasingFunction > < CircleEase /> </ LoadTransition.GeneratedEasingFunction > </ LoadTransition > </ VisualStateManager.LoadTransition > |
1 2 | < ComboBox ItemTemplate={StaticResource BookItemTemplate} ItemsSource = "{Binding DataContext.Book, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}" /> |
1 | < ListBox SelectionChanged = "{MyTestMethodBinding:Invoke Method=OnSelectCategory}" /> |
1 2 3 | < Style x:Key = "AccentBlocks" TargetType = "Rectangle" > < Setter Property = "Fill" Value = "{Binding MyBrush, Source={StaticResource MyColorSettings}" /> </ Style > |
WCF & RIA Services
- WS-Trust Support – Taken from Wikipedia: WS-Trust is a WS-* specification and OASIS standard that provides extensions to WS-Security, specifically dealing with the issuing, renewing, and validating of security tokens, as well as with ways to establish, assess the presence of, and broker trust relationships between participants in a secure message exchange.
- You can reduce network latency by using a background thread for networking.
- Supports Azure now.
- Improved text clarity that enables better text rendering.
- Multi-column text flow, Character tracking and leading support, and full OpenType font support.
- Includes a new Postscript Vector Printing API that provides control over what you print .
- Pivot functionality baked into Silverlight 5 SDK.
- Immediate mode graphics support that will enable you to use the GPU and 3D graphics supports.
1) 3D view of the Earth – not really a real-world application though.
A doctor's portal. This demo really stood out for me as it shows what we can do with the 3D / GPU support.
Out of Browser
- OOB applications can now create and manage childwindows as shown in the screenshot below.
- Trusted OOB applications can use P/Invoke to call Win32 APIs and unmanaged libraries.
- Enterprise Group Policy Support allow enterprises to lock down or up the sandbox capabilities of Silverlight 5 applications.
In this demo, he connected a USB Device which fired off a local Win32 application that provided the data off the USB stick to Silverlight.
Another demo of a Silverlight 5 application exporting data right into Excel running inside of browser.
Testing
- They demoed Coded UI, which is available now in the Visual Studio Feature Pack 2. This will allow you to create automated testing without writing any code manually.
- Microsoft has worked to improve the Silverlight startup time.
- Silverlight 5 provides 64-bit browser support.
- Silverlight 5 also provides IE9 Hardware acceleration.
No comments :
Post a Comment