400 likes | 541 Views
Lap Around Silverlight 3. New Features Overview. Alex Golesh Silverlight Leader, Sela Group E-mail: alexg@sela.co.il Web: http://www.devcorner.info/ Blog: http://blogs.microsoft.co.il/blogs/alex_golesh/. Agenda. Silverlight - Intro Silverlight 3 New Features
E N D
Lap Around Silverlight 3 New Features Overview Alex Golesh Silverlight Leader, Sela Group E-mail: alexg@sela.co.il Web: http://www.devcorner.info/ Blog: http://blogs.microsoft.co.il/blogs/alex_golesh/
Agenda • Silverlight - Intro • Silverlight 3 New Features • Overview with Demos, Demos and Demos… • RIA Services • Overview • Demos, Demos, Demos… • Blend 3 + Sketch Flow • Overview with Demos, Demos and Demos… • Q&A • Summary
What is Silverlight? • Client Side RIA Application • Browser Plug-In • Cross-platform, cross-browser, cross-device
What is Silverlight? • 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
Silverlight .NET Subset • .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
Presentation Core – Graphics • 2D Graphics • Vector based • Standard shapes and Paths • Masking and clipping • Transformations: skew, rotate, scale, translate, matrix • Animation Basics • Time-based • Support linear, discrete and spline animation • Animatable property types: • Double, Color, Point • Animations and graphics can be defined using XAML or code
Extensive Application Markup Language XAML C# VB.NET <Button Width="100"> OK <Button.Background> LightBlue </Button.Background> </Button> Button b1 = new Button(); b1.Content = "OK"; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; Dim b1 As New Button b1.Content = "OK" b1.Background = New _ SolidColorBrush(Colors.LightBlue) b1.Width = 100 Declarative Programming - XAML • Toolable, declarative markup • Code and content are separate • Compatible with Windows Presentation Foundation
Controls • 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. • Controls ship with source
Styling and Templating support • Controls supports styling • Controls supports templating
Demo Controls, Toolkit
Silverlight 3 - Intro • Introduced at MIX09 • Many performance improvements • Additions to previous version • Closer to WPF • Better LOB applications support • Runtime is backward compatible (almost ) • Silverlight 2 • Silverlight 1.0
Demo Silverlight 3 Demo WPF Demo
Features Overview • Graphics • Animation • Media • Accessibility, Navigation & SEO • Controls • Text • DataBinding • Styling • Networking • Offline Support • RIA Services • Blend 3
Features Overview • Graphics • Bitmap API • Pixel Shader Effects • Perspective 3D • Hardware Composition • Cached Composition • Image Info, Opened & Failed Events • Animation • Media • Accessibility, Navigation & SEO • Controls • Text • DataBinding • Styling • Networking • Offline Support • RIA Services • Blend 3
Demos Bitmap API
Features Overview • Graphics • Animation • Easing • Text Animation • Media • Accessibility, Navigation & SEO • Controls • Text • DataBinding • Styling • Networking • Offline Support • RIA Services • Blend 3
Demos Animation Easing
Features Overview • Graphics • Animation • Media • H.264 Support • RAW Audio and Video Support • 3rd Party Codec's • Smooth Streaming • Accessibility, Navigation & SEO • Controls • Text • DataBinding • Styling • Networking • Offline Support • RIA Services • Blend 3
Demos H264 Support & Smooth Streaming
Features Overview • Graphics • Animation • Media • Accessibility, Navigation & SEO • System Colors for High Contrast • Navigation Framework • URI Mapping • Controls • Text • DataBinding • Styling • Networking • Offline Support • RIA Services • Blend 3
Demos Navigation Framework
Features Overview • Graphics • Animation • Media • Accessibility, Navigation & SEO • Controls • Multiselect Listbox • File Save Dialog • New Layout Controls • New Core Controls • New Silverlight Toolkit • Text • DataBinding • Styling • Networking • Offline Support • RIA Services • Blend 3
Demos Controls
Features Overview • Graphics • Animation • Media • Accessibility, Navigation & SEO • Controls • Text • Compressed Fonts • Caret Brush for TextBox • DataBinding • Styling • Networking • Offline Support • RIA Services • Blend 3
Features Overview • Graphics • Animation • Media • Accessibility, Navigation & SEO • Controls • Text • DataBinding • Element-to-Element binding • Data Validation • Data Validation Exception UI • Styling • Networking • Offline Support • RIA Services • Blend 3
Demos DataBinding
Features Overview • Graphics • Animation • Media • Accessibility, Navigation & SEO • Controls • Text • DataBinding • Styling • “Based On” styles support • Resetting Styles • Merged Resource Dictionaries • Networking • Offline Support • RIA Services • Blend 3
Features Overview • Graphics • Animation • Media • Accessibility, Navigation & SEO • Controls • Text • DataBinding • Styling • Networking • Local Connection • Binary XML • Cached Assemblies • Offline Support • RIA Services • Blend 3
Demos Local Connection & Cached Assemblies
Features Overview • Graphics • Animation • Media • Accessibility, Navigation & SEO • Controls • Text • DataBinding • Styling • Networking • Offline Support • Cache Application Offline • Run Out Of Browser • Desktop/Start Menu Link • Local Data Access • Network State Check • RIA Services • Blend 3
Demos Out Of Browser
Features Overview • Graphics • Animation • Media • Accessibility, Navigation & SEO • Controls • Text • DataBinding • Styling • Networking • Offline Support • RIA Services • Domain Operations • Extensibility, validation and security • Silverlight DomainDataSource • Blend 3
RIA Services • Address the complexity of building N-tier applications through framework • Focus on the end-to-end use of data
RIA Services • Define and support a pattern for exposing a set of operations on resources • Developer authors a DomainService to define a set of operations on resources. • The framework and tools collaborate to generate code for a corresponding client-tier that can be used for data binding, validation etc
Demos RIA
Features Overview • Graphics • Animation • Media • Accessibility, Navigation & SEO • Controls • Text • DataBinding • Styling • Networking • Offline Support • RIA Services • Blend 3 • Design-Time Data • Behaviors • XAML & C# IntelliSense • UI Improvements • Sketch Flow
Demos Blend 3 + Sketch Flow
Summary • Current versions • Silverlight 3 (RTW) • Blend 3 + Sketch Flow (RC) • Silverlight 2 GDR (RTW) • Blend 2 SP1 • Please fill the feedbacks!