190 likes | 372 Views
An Overview of Microsoft Silverlight. Barry Gervin Microsoft Regional Director bgervin@objectsharp.com. John Bristowe Developer Advisor, Microsoft Canada john.bristowe@microsoft.com. Where Are We Now?. Rich Interactive Applications (RIAs). What is Microsoft Silverlight?.
E N D
An Overview of Microsoft Silverlight Barry Gervin Microsoft Regional Director bgervin@objectsharp.com John Bristowe Developer Advisor, Microsoft Canada john.bristowe@microsoft.com
What is Microsoft Silverlight? • A cross-browser, cross-platform plug-in for delivering the next generation of .NET-based media experiences and RIAs • Supports fast, cost-effective delivery of high-quality video to all major browsers running on Mac OS or Windows • Integrates with existing Web applications
Silverlight Architecture BROWSER Integrated Networking Stack Application Services Installer .NET for Silverlight ASP.NET AJAX HTML DOMIntegration • DATA • LINQ XLINQ WPF Extensible Controls REST RSS SOAP POX JSON • DLR • Ruby Python • BCLs • Generics CLR EXECUTION ENGINE XAML Presentation Core • UI CORE • Vector Text • Animation Images • INPUTS • Keyboard Mouse • DRM • Media v1.1 • MEDIA • VC-1 WMV MP3 • CONTROLS • Layout Editing v1.0
.NET for Silverlight • Represents a factored subset of the .NET Framework and CLR • Approximately 4.2 MB in size (.NET Framework is approximately 50 MB) • Supports “pay-for-play” model; auto-downloads components as needed • Provides a highly productive development framework • Multilingual runtime with innovations like LINQ and DLR • Supported integration with technologies like ASP.NET AJAX • Comprehensive tool support through Visual Studio and Expression • Hosted using a cross-platform (MacOS and Windows) and cross-browser (IE, Firefox, Safari, Opera) plug-in
Tools and Technology • Silverlight v1.1 Alpha • Visual Studio “Orcas” Beta 1 • Silverlight Tools Alpha for Visual Studio "Orcas" Beta 1 • Expression Blend 2 May Preview • ASP.NET Futures • Everything you need is at www.silverlight.net • Links to downloads and documentation
HTTP Networking & XML in Silverlight • HTTP networking supported by BrowserHttpWebRequest class • Supports various HTTP 1.1 semantics (i.e. content codings) • Supports an asynchronous programming model • Does not currently support cross-domain calls • Service endpoints supported by SoapHttpClientProtocol class • Supports auto-serialization of operation parameters as JSON • Streamed XML supported by XmlReader and XmlWriter classes • Support is planned to include LINQ to XML • Investigating support for DOM, XSD (i.e. validation), XPath, and XSLT
Application Services • Supports isolated storage for offline scenarios • User-specific store with storage quota; currently supports 1 MB • Safe file open; OpenFileDialog class • Supports client-side access to file prior to uploading to remote endpoint
HTML DOM Integration in Silverlight • System.Windows.Browser namespace provides numerous types to manipulate and traverse the HTML DOM • Examples: HtmlDocument.GetElementByID, HtmlElement.AppendChild • Supports event binding to HTML elements in managed code • Supports bi-directional invocation of functions/methods • Supported through Scriptable attribute • Example: JavaScript invokes a method written in C# • Automatic type marshalling; .NET to/from JavaScript
Your Feedback Matters! • Your evaluation form will be delivered to you via email after the event (save paper!) • The email will come from wwevents@microsoft.com • Everyone who completes an evaluation is entered to win an Xbox 360 • Feedback will be used to improve the event for next year