Presentation is loading. Please wait.

Presentation is loading. Please wait.

Discover, Master, InfluenceSlide 1 Introducing Silverlight Paul Stovell Alpha Ape, Lead Code Monkey, Readify.

Similar presentations


Presentation on theme: "Discover, Master, InfluenceSlide 1 Introducing Silverlight Paul Stovell Alpha Ape, Lead Code Monkey, Readify."— Presentation transcript:

1 Discover, Master, InfluenceSlide 1 Introducing Silverlight Paul Stovell Alpha Ape, Lead Code Monkey, Readify

2 Discover, Master, InfluenceSlide 2

3 Was that a flash? Discover, Master, InfluenceSlide 3

4 No, it was just a silver light... Discover, Master, InfluenceSlide 4

5 Should WPF be gold heavy? Discover, Master, InfluenceSlide 5

6 What is Silverlight? Silverlight is WPF! With less features Lives in your web browser Cross platform Cross browser Has a nice installer – it’s a 4 MB download Discover, Master, InfluenceSlide 6

7 What is Silverlight? Two releases: Silverlight 1.0 – You still have to use JavaScript – Not as many features – Good for video Silverlight 2.0 (still in Beta 2) – You can use C# or VB.NET – You get lots of the.NET Framework – More features – Also does video Discover, Master, InfluenceSlide 7

8 What is Silverlight? WPF XBAP’s vs. Silverlight XBAPs are WPF applications – That live in a browser – That are sandboxed – That can do anything WPF can do – That require the full.NET Framework – That aren’t cross-platform, and only work in IE and Firefox Silverlight – Also lives in a browser But can interact with the HTML – Also has a sandbox – Doesn’t have access to the full.NET Framework – Has a much larger marketing team Discover, Master, InfluenceSlide 8

9 What is Silverlight? Synergy versus Compatibility Discover, Master, InfluenceSlide 9

10 Developing with Silverlight 2.0 (beta 2) Discover, Master, InfluenceSlide 10

11 Developing with Silverlight Agenda: Layout Styles and resources Animation Video and media Binding Web Services HTML Interop Discover, Master, InfluenceSlide 11

12 Developing with Silverlight Getting started - prerequisites 1.Install the Silverlight Tools for Visual Studio 2008 (silverlight_chainer.exe – 84 MB) 2.Install Blend (2.5, June preview – 33 MB) Discover, Master, InfluenceSlide 12

13 Developing with Silverlight Layout – what’s the same? Panels: Grid, Canvas, StackPanel Margins Width, Height, Min/Max Layout – what’s different? Missing UniformGrid, DockPanel and WrapPanel Discover, Master, InfluenceSlide 13

14 Developing with Silverlight Styles and Resources – what’s the same? Styles, templates, App.xaml Styles and Resources – what’s different? No event, property or data triggers Invented “states” instead Resources can’t be merged into App.xaml No style inheritance (BasedOn=) “Write-once” Discover, Master, InfluenceSlide 14

15 Developing with Silverlight Animation– what’s the same? Grid, Canvas Animation – what’s different? Nothing Discover, Master, InfluenceSlide 15

16 Developing with Silverlight Video and media – what’s the same? Most primitives (brushes, pens, etc. same) element for embedding video Video and media – what’s different? No DrawingBrush or VisualBrush No BitmapEffects (blur, drop shadow, etc.) No layout transform Discover, Master, InfluenceSlide 16

17 Developing with Silverlight Binding – what’s the same? Binding extension DataContext DataTemplates (though TargetType not supported) Binding – what’s different? No data triggers No IDataErrorInfo No element binding No type descriptors Discover, Master, InfluenceSlide 17

18 Developing with Silverlight Web Services HttpWebRequest/WCF clients – HTTP and HTTPS only – Cross-domain calls allowed via CrossDomain.xml – Add Service Reference Sockets – TCP stream sockets only – Cross domain in beta 2 Discover, Master, InfluenceSlide 18

19 Developing with Silverlight HTML Interop System.Windows.Browser HtmlPage.Document.GetElementById(...) HtmlPage.RegisterScriptableObject(...) [ScriptableMember] Discover, Master, InfluenceSlide 19

20 Developing with Silverlight Sandbox considerations Policy-based cross-domain calls (crossdomain.xml) File I/O limited to isolated storage and OpenFileDialog No private reflection No native method calls No full-trust option Discover, Master, InfluenceSlide 20

21 Developing with Silverlight Extra services Deep Zoom Live Silverlight Streaming services http://dev.live.com/silverlight/ Discover, Master, InfluenceSlide 21

22 Summary Silverlight: – Lets you write.NET code in the browser – Lets you build richer user experiences than possible in HTML – Aims for synergy, not binary compatibility – Has a way cooler icon than WPF  Remains to be seen: Will it reach Flash adoption levels? Discover, Master, InfluenceSlide 22

23 Discover, Master, InfluenceSlide 23 A Readify Developer Network session By Paul Stovell, Senior Developer, Readify Email Address: paul.stovell@readify.net RDN Website: www.readify.net/rdn


Download ppt "Discover, Master, InfluenceSlide 1 Introducing Silverlight Paul Stovell Alpha Ape, Lead Code Monkey, Readify."

Similar presentations


Ads by Google