Presentation is loading. Please wait.

Presentation is loading. Please wait.

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel www.sela.co.il.

Similar presentations


Presentation on theme: "© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel www.sela.co.il."— Presentation transcript:

1 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel www.sela.co.il

2 Introduction – What is Silverlight? Tooling New Features – Line of Business (LOB) – Out of Browser (OOB) – General Improvements Q&A Summary

3 Client Side RIA Application Browser Plug-In Cross-platform, cross-browser, cross-device

4 Browser Plug-In: Silverlight Runtime.NET programming model Vector UI: Text, Graphics, Animation Doesn’t requires.NET on client machine.NET development platform ASP.NET Integration

5 .NET for Silverlight is a factored subset of full.NET. NET 3.5 ~200 MB (Windows only) Desktop ~50 MB (Windows only) Silverlight ~4 MB (cross platform) Same APIs, tools and skills Highly compatible Moving from Silverlight to desktop.NET with minimal changes Source, but not binary compatible

6 2D Graphics – Vector based – Standard shapes and Paths – Transformations: skew, rotate, scale, translate, matrix 3D Graphics – Similar to XNA – Hardware Accelerated Animation Basics – Time-based – Support linear, discrete and spline animation – Animations and graphics can be defined using XAML or code

7 Extensive Application Markup Language Toolable, declarative markup Code and content are separate Compatible with Windows Presentation Foundation OK LightBlue XAML Button b1 = new Button(); b1.Content = "OK"; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; C# Dim b1 As New Button b1.Content = "OK" b1.Background = New _ SolidColorBrush(Colors.LightBlue) b1.Width = 100 VB.NET

8 Core controls in box Button, ListBox, CheckBox, RadioButton, Hyperlink, Slider, ScrollBar, ScrollViewer, ProgressBar, TextInput, etc. Core layout containers in box Grid, Stack panel, Canvas, etc. Other controls shipped as extensions DataGrid, Menus, ToolBar, etc.

9 Controls supports styling Controls supports templating

10

11 Introduced at MIX11 Tooling – Visual Studio 2010 SP1 & Blend 4 (special build) – XAML Debugging Target LOB – Postscript Printing – Implicit Data Templates & Relative Binding Source – Trick Play Improves OOB/IB model – Elevated trust IB model Developer only release

12 Visual Studio 2010 SP1 – Improved Intellisense – XAML Debugging – Profiler Expression Blend Preview for Silverlight 5

13

14 Ancestor RelativeSource support in DataBinding Implicit Data Templates Custom Markup Extensions Style Setters Binding

15 Bind to ancestor control Ancestor definition by – Type – Level – Mode

16

17 DataTemplate definition based on type – No x:Key means default Generates default UI for specified type Can be overridden in by specific DataTemplate

18

19 Class derived from System.Windows.Markup.MarkupExtension Override one function – ProvideValue Only parameterless constructor is supported – Positional parameters are not supported (unlike in WPF) Built-in – x:Null

20

21 Setters value can be databound – Converters works

22 Full file system access – Elevated OOB only – Read/Write permissions of current user Multiple Child Windows p/Invoke – Post Beta

23 Span multiple tear-off windows – Elevated Out-Of-Browser applications only System.Windows.Window class – Window Style – Window State – Window Size and Location Width, Height, Left, Top – Content accepts FrameworkElement

24

25 Works like Out-Of-Browser Elevated Mode Requires XAP signing with certificate in Trusted Publishers store Requires registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Silverlight\ AllowElevatedTrustAppsInBrowser = 0×00000001

26 ClickCount – Part of MouseButtonEventArgs Realtime Sound – Uses XNA’s SoundEffect Linked Text Containers TrickPlay Text Tracking and Leading – CharacterSpacing property ComboBox type ahead Searching

27 Enables to flow long text into overflow container Very usable for print layouts Enables magazine and newspaper-style layouts

28 Enable speed up/slow down video speed – Pitch correction (after Beta) Controlled by PlaybackRate property of MediaElement

29

30

31

32

33 Available starting April 2011 Beta Developer release, without “Go-Live” LOB Ready Many Improvements

34 Homepage & Downloads – http://silverlight.net/GetStarted Tutorials: – http://www.silverlight.net/getstarted/silverlight-5-beta My Blog: – http://blogs.microsoft.co.il/blogs/alex_golesh

35


Download ppt "© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel www.sela.co.il."

Similar presentations


Ads by Google