1 / 20

Developing ASP.NET AJAX Controls with Silverlight

Developing ASP.NET AJAX Controls with Silverlight. Barry Gervin Microsoft Regional Director bgervin@objectsharp.com. John Bristowe Developer Advisor, Microsoft Canada john.bristowe@microsoft.com. Where Are We Now?. What is Microsoft Silverlight?.

urban
Télécharger la présentation

Developing ASP.NET AJAX Controls with Silverlight

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Developing ASP.NET AJAX Controls with Silverlight Barry Gervin Microsoft Regional Director bgervin@objectsharp.com John Bristowe Developer Advisor, Microsoft Canada john.bristowe@microsoft.com

  2. Where Are We Now?

  3. 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

  4. 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

  5. <asp:Mediarunat="server" /> • ASP.NET server control – part of the ASP.NET Futures • Enables you to easily integrate media sources • Audio (WMA) and video (WMV) • No knowledge of XAML or JavaScript required • Generates the appropriate markup and code • Optionally enables you to customize the look of the media control by using styles • Supports client-side event model, custom chapters and markers

  6. ASP.NET Media Server Control

  7. A Quick Word on Hosting • Microsoft Silverlight Streaming by Windows Live • http://silverlight.live.com/ • Offers web designers and developers a free and convenient solution for hosting and streaming • 4 GB of hosting space • Administrative Web site and REST APIs available

  8. <asp:Xamlrunat="server" /> • ASP.NET server control – part of the ASP.NET Futures • Enables you to easily integrate XAML and any supporting code • Interaction through client-side JavaScript; Sys.Preview.UI.Xaml.Control

  9. ASP.NET Xaml Server Control

  10. ASP.NET AJAX Architecture Client Server XHTML/CSS Script ASPX ASMX Microsoft AJAX Library ASP.NET AJAX Extensions AJAX Server Controls Application Services Bridge Base Class Library Script Core Library Asynchronous Communications Asynchronous Communications Browser Compatibility ASP.NET 2.0 Page Framework & Server Controls Application Services

  11. Using Silverlight in AJAX Controls • Silverlight provides cross-platform scriptable vector graphics, media and animation capabilities • Suitable for rich presentation beyond basic HTML • Enables incrementally enriching application • ASP.NET AJAX control allows incorporating Silverlight while preserving traditional AJAX development model

  12. Using AJAX Controls with Silverlight • Silverlight provides a model for implementing and packaging components • Use XAML for UI, managed code for logic packaged in assemblies • Providing an AJAX API enables easier embedding of Silverlight component in an HTML page and bi-directional communication

  13. ASP.NET AJAX Controls Overview • Responsible for rendering HTML & script includes & script to instantiate client-side components • Implement IScriptControl interface • Register with ScriptManager on the page • Hand out collections of ScriptReferences, and ScriptDescriptors • <asp:Xaml /> and <asp:Media /> implement the IScriptControl interface; simplifies aspects of using Silverlight

  14. Building an ASP.NET Server Control

  15. Call to Action! • Download and install Silverlight • Experiment with XAML, Media, Vector graphics and the rich programming model • Think of new generation of rich ASP.NET controls • Send feedback!

  16. Resources Canadian Developers Weblog blogs.msdn.com/cdndevs

  17. What You Experienced Today

  18. 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

More Related