Silverlight 3.0 Beta 1 Fakten

Please note that the beta will be a developer only release with no Go-Live.


Silverlight V3 develops on the following themes :

·         Go offline with your application : silverlight provides all the features you need to store your application on your users machine, and then work against their data in the your isolated cache or under their MyDocuments. Your application can ask the user if they want to add a link to your application on their desktop or start menu. In addition, you can check network status to find out when to update.

·         Empower creative professionals : we’ve added new features to make the next generation web visuals including pixel shader effects such as blur and dropshadow; Perspective 3D graphics; Bitmap API for drawing to pixels; and customizable easing for animation

·         Richest controls frameworks : we’ve built in support for validation and error UI. We’ve added support for multiple selection in listbox controls; and for a file save dialog to make it easier to write files. We’ve also added a set of features for data validation so you can automatically catch incorrect input and warn the user with built in validation controls.

·         Theme your application : we now allow you to completely theme your application by applying styles and changing them at runtime; you can also cascade your styles by basing them on each other.

·         Enhanced Control skinning : with the addition of external resource dictionaries its now much easier to take your styles and control skins and share them between different applications. For instance you can build a common set of controls and keep them all external from your application, making skinning much easier.

·         Create responsibly : we are the first browser plugin to provide access to all system colors – this allow partially sighted people to make changes such as high contrast color schemes for readility using familir operating system controls.

·         Quicker application download : we now cache commonly used parts of the silverlight framework such as chart controls the first time they are used. We also allow you to ZIP up your font files; and make use of the local fonts on the users machine to avoid a download.

·         Improved performance : we now allow you to cache parts of your scene to a bitmap to improve rendering performance; we’ve also enhanced deepzoom to work with 1000s of elements; added support to use the GPU to draw to the screen; and we now allow you to set how text renders so that it can animate much more rapidly. We also now support binary XML which allows compression of data from the server to vastly enhance data transfer.

·         Richest Media – H264 and RAW support allows the best codecs on any platform. You can now build your own video or audio code eg create a sound generator or custom alpha video.

 

New for Silverlight V3

 

Graphics

 

NEW Bitmap API : This  allows the developer to take a bitmap and write to  the pixels themselves. Possible scenario here would be to build a photo editor to do red eye correction; or to perform effects upon cached bitmaps from elements on the screen – for instance by shifting pixels around you can make your own blur or fish eye effect.

 

NEW Pixel Shader Effects :  These software based effects include blur and drop shadow. In addition, the user can also write their own effect They can be applied to any graphical content. An example would be to make a button appear depressed on rollover you could use a drop shadow effect on the pressed visual state.

 

NEW Perspective 3D : Perspective planes have become popular in modern UI design. Silverlight now allows you to take your content and apply it to a 3D planeThis allows you to make your content rotate or scale in space without writing any additional code; the content is still live and can also be clicked into.. This can be useful in attracting a users attention; or in making content more or less prominent by placing it further back in the scene. Other effects include creating a queue in 3D (such as Windows Vista task switch); and transitions (eg fly objects out of the scene)

 

NEW Hardware Composition : to improve performance, the final blit of content such as media is now performed by the GPU. In particular, this greatly improves performance of full screen video and bitmaps.

 

NEW  Cached Composition : this is a feature that renders a visual tree of a set of elements to a bitmap and then uses the bitmap to render. This can hugely improve graphics performance because the element tree only needs to be rendered once. Scenarios include moving or scrolling graphics; or elements in the background which do not change. The developer can set a flag to indicate which parts of the tree are to be cached.

 

NEW Image download size, cache, opened event : Currently in Silverlight there is no reliable way to check image properties that are populated by the runtime upon opening an image. This is a common scenario as users want to be able to download an image and check its size before deciding what to do with it.

 

In addition developers can catch an ImageOpened event to find out when an Image has been downloaded and decoded and its fields are properly set; and then can check its natural size when downloaded.

 

Animation

 

NEW Custom Easing. Animation easing functions allow designers to designate a mathematical function to determine intermediate values between two designated value points. A number of effects are provided built in such as elastic and bounce effects.

 

Developers can also now develop their own mathematical functions to describe an animation – for instance effects such as a spring.

 

New Text Animation. Anti-aliasing text with cleartype is not useful if text is animating on the screen eg zooming or flying in to view; and in addition this can slow down performance. A new option exposes an explicit way to disable readability optimizations for these scenarios.

 

 

Media

 

NEW H264 As media platforms have gained H264 and AAC playback support, customers are increasingly choosing to encode their content in these formats. There are two major benefits for customers migrating today, desktop ubiquity and mobile ubiquity.

 

Many mobile devices such as portable music players and mobile phones have hardware implementations of H264 and HE-AAC and by migrating to H264 and AAC, content providers gain another set of opportunities for their content to be seen.

 

In order to continue providing customers excellent media experiences and to lower the barrier of entry to companies and individuals using these codecs, Silverlight should provide the set of features developers and designers have come to expect from the Silverlight runtime including but not limited to, progressive download, streaming, adaptive streaming, playlist support, and DRM, when playing back H264 and AAC content.

 

NEW Support for RAW audio and video support 3rd Party Codecs Developers can now build their own codes to work on streams of audio or video; for instance they can implement their own alpha video; or generate sound effects functionally to avoid sending down sound effects files.

                         

Accessability

 

NEW System colors for high contrast support.  Silverlight currently provides the ability for developers to know if the system is running in high contrast but developers also need information about system colors to present a contrast that matches user's settings. We now expose a set of named colors provided by the operating system – controls and other graphics can utilize these named values which will change when the user edits their system settings. A scenario here is to use these settings so that the display updates when the user switches their preferences to high contrast for easier readability

 

 

Controls

 

NEW Online Toolbox : rather than having to wait for the next release fo silverlight; we’ve made available over 30 controls as we build them. This includes a full set of charting controls and an enhanced datagrid control. We also provide full source code to all of our controls

 

NEW Multiselect Listbox This is useful for lists from which a user must make multiple selections, often in contiguous ranges.  e.g.:  an online spreadsheet application that displays comparisons of daily financial data based on the date range(s) selected in a ListBox.

 

NEW File Save Dialog In Silverlight v2, we provided the functionality for developers to invoke an OpenFileDialog but no other FileDialog control. Currently, the only way to allow a user to right a file to disk is to create the file on the server and use the HyperlinkButton control to download it; or round trip the data from the client if necessary which is sometimes difficult and other times not a valid option for given scenarios.

 

In Silverlight v3, we will add the corresponding SaveFileDialog so that app authors can allow their users the opportunity to save files to their computers.

 

 

Layout

 

NEW Dock panel  – place content NSEW

 

NEW Wrap Panel – similar to a stack, but the content wraps at the end of the line

 

NEW ViewBox – allows bitmap scaling of vector content when re-sized

 

 

Text Support

 

NEW Compressed Fonts Font sizes can be quite large but they compress well –Silverlight 3 allows fonts to be compressed into a ZIP file and loaded.

.

NEW Support for local fonts. Since font files can be large to download, we now allow local fonts t also be used. In particular this can be useful for other languages where the font is widely available and would be large.

 

NEW Caret Brush on TextBox  While Silverlight TextBox and PasswordBox are highly style-able and skinnable their carets is not. The caret is hard coded to a Black color making it hard to use dark custom colors. This feature allows this color to also be changed.

 

 

Databinding

 

NEW Data validation – Silverlight exposes advanced facilities for validating data via two way databinding; and then allows the developer to catch the validation error and enable or disable other controls (for instance a submit button if a name field is not filled in)

 

NEW UI controls for data validation errors – If the user enters an illegal data value (eg a non numeric ZIP code), a skinnable control is exposed which allows the designer to specify an error call-out. Built in support is provided for validation errors on existing controls such as textbox and checkbox; and a simple default error UI is also supported.

 

NEW Element to Element binding : UI designers use binding between two UI properties to create compelling UI experiences.  Silverlight now enables property binding to CLR objects and other UI components via XAML. For example a user’s name and address can be bound to text fields. If this is a two way binding then editing these fields causes the underlying properties to be updated. Other scenarios include UI to UI binding, for instance binding a slider value to the volume control of a media player.

 

 

Styling

 

NEW Based on Styles It is now possible to have styles which are based on each other. For instance, you can append or over-ride values by basing one style on another. This allows a single base style for instance to set all underlying colors and font sizes, and then make changes to this style by applying another for eg new items in the UI.

NEW Resetting Styles In silverlight 3 you can now set a style multiple times – this allows style values to be reset or over-ridden. A scenario here is that you want to them your application using a set of different styles for different color schemes; by making all of your graphics and controls skin colors be based on style values, they will then automatically update when you change the style

 

NEW Merged resource dictionaries. This feature allows use of Silverlight resources defined externally allowing sharing resources between applications and isolating them for localization and easier revisions. By locating the application resources in an external file, we provide the ability for reuse of resources between applications, centralized update by various developer/designers and ability to localize the file out of the application.

 

 

Networking

 

NEW Local Connection This feature allows communication between two Silverlight applications on the client-side without incurring a server roundtrip. Although some of this can be achieved with the HTML DOM Bridge and Scriptable objects, the access to the DOM from the Silverlight app is a pre-requisite. Scenarios here include having eg a Silverlight menu and navigation control within separate controls on the web page communicate together.

 

 

Offline support (Beta for V3 at MIX ‘09)

 

NEW Cache application offline Silverlight V3 allows you to take your application offline, by simply adding a few additional commands. Your application is then securely stored on the local machine, and can access its isolates storage cache; as well as check for network connection. This allows for scenarios such as disconnected media playback (eg on an airplane); and to also process locally stored data.

 

NEW Add desktop or start menu link to offline application. You can offer the user the option to promote your application to the desktop, their browser favorites, or to the start menu. This allows you to build a relationship with the user that they can quickly find.

 

NEW Access local data within MyDocuments. We allow you to access a directory based on your application within MyDocuments so that the user can access stored data and can also back-up and find their data again outside of the isolated storage cache.

 

NEW Check networks state. Your application can check for connectivity – for instance it may want to re-sync when it detects a connection.

 

 

XML

 

NEW Binary XML – compressed XML greatkly improves performance in data transmission by compression

 

Deep zoom

 

NEW Show status when image is fully downloaded. Developers want to provide status information about when the map is completely downloaded.

.

NEW Enhanced performance. Deep Zoom applications with a few hundred items in a collection start to suffer skipped frames. By taking advantage of Silverlight v3’s hardware acceleration, we can show collections of a few thousand items with high framerate

 

NEW Sharing MultiscaleImage datasets. Developers would like to use multiple Deep Zoom images showing multiple views on the same data. For instance, one view shows the entire collection, while another view focuses on one item.

 

Kommentar schreiben