Developing asp net ajax controls with silverlight
Sponsored Links
This presentation is the property of its rightful owner.
1 / 20

Developing ASP.NET AJAX Controls with Silverlight PowerPoint PPT Presentation


  • 55 Views
  • Uploaded on
  • Presentation posted in: General

Developing ASP.NET AJAX Controls with Silverlight. Barry Gervin Microsoft Regional Director [email protected] John Bristowe Developer Advisor, Microsoft Canada [email protected] Where Are We Now?. What is Microsoft Silverlight?.

Download Presentation

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Developing ASP.NET AJAX Controls with Silverlight

Barry Gervin

Microsoft Regional Director

[email protected]

John Bristowe

Developer Advisor, Microsoft Canada

[email protected]


Where Are We Now?


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


<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


ASP.NET Media Server Control


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


<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


ASP.NET Xaml Server Control


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


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


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


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


Building an ASP.NET Server Control


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!


Resources

Canadian Developers Weblog

blogs.msdn.com/cdndevs


What You Experienced Today


Your Feedback Matters!

  • Your evaluation form will be delivered to you via email after the event (save paper!)

  • The email will come from [email protected]

  • Everyone who completes an evaluation is entered to win an Xbox 360

  • Feedback will be used to improve the event for next year


  • Login