Get Connected with the .NET Framework 2.0 and ... - MSDN Events

peruvianwageslaveInternet and Web Development

Feb 5, 2013 (4 years and 10 months ago)

233 views

Light up the Web with
Microsoft Silverlight


What Will We cover?

Silverlight: Overview, Benefits, Features

What you need for Silverlight development

How to build Silverlight applications

Silverlight platform architecture

Comparison of Silverlight 1.0 and 1.1

Silverlight Media: Key Features and Development




Level 200

Helpful Experience

Basic
ASP.Net


codebehind
” experience

Basic understanding of XML

Rich Interactive Applications

Web

desktop

Easy to develop and
deploy, but limited features
and end user experience

Rich user experience, often
connected, but costly to
develop and difficult to
deploy

media &
Rich Interactive
Applications

Web

desktop

Introduction

To

Silverlight

Silverlight is a Cross Platform, Cross Browser plug
-
in that
renders XAML and exposes a programming model

Introduction

To

Silverlight

Web Applications Only


Silverlight

is a browser
plugin

Cross
-
Platform (Windows, Mac OS X)

Cross
-
Browser (IE, Safari, Firefox)

Enables OOP Models For Web Applications

.NET based*

Runtime supporting various programming languages

Enables a broad range of developers with different skill
-
sets to target
Silverlight

Platform

Dramatically Improves The Developer
-
Designer Experience and the
process

Visual Studio 2008 and Microsoft Expression

Enables RIA Style Enrichment Of Existing Web Applications Supporting
Interaction Between
Silverlight

Elements,
Silverlight

And HTML

Enables Bandwidth Sensitive Delivery And Interaction Of High
-
Quality
Video




Silverlight Features and Benefits

Flexible programming model with collaborative tools

Connected to Web, servers

and services

Compelling cross
-
platform, cross
-
browser user
experiences

Efficient, lower cost of delivery, and more capable
media solution

Silverlight Deployment

Getting Ready for 1.0 Development

Visual Studio 2005

Expression Blend 2 August Preview

Visual Studio Extensions for Silverlight

Getting Ready for 1.1 Development

Silverlight v1.1 Alpha SDK

Visual Studio 2008 Beta 1

Silverlight Tools Alpha for Visual Studio 2008 Beta 1

Expression Blend 2 August Preview

ASP.Net

Futures

DEMO 1


Building a simple Application
with Silverlight 1.0

Agenda

Introducing Silverlight

Examining Silverlight Architecture

Exploring Silverlight Media

The Silverlight Platform

Legend

V1.1

Legend

V1.0

Presentation Core

Inputs

Keyboard

Mouse

Ink

Media

VC1

WMA

MP3

Browser Host

MS AJAX

Library

DOM

Integration

UI Core

Images

Vector

Text

Animation

DRM

Media

Controls

Layout

Editing

Deploy

Friction
-
Free

Installer

Auto
-

Updater

Application

Services

.Net
for Silverlight

JSON

POX

Networking

Data

LINQ

XLINQ

WPF

Extensible Controls

XAML

DLR

Ruby

Python

BCL

Generics


Collections

CLR Execution Engine

SOAP

RSS

REST

Key Feature Comparison: 1.0 vs. 1.1

Markup Language

XAML

XAML

Hosting/Container

HTML Page

HTML Page

Delivery

Method

Arbitrary Web server

Arbitrary Web server

Silverlight 1.0

Silverlight 1.1

Options

for Development of
Event Handlers and
Application Logic

JavaScript

JavaScript, Managed

code
languages (C#, VB.Net),
Dynamic languages
targetting managed code
(IronPython, Managed
Jscript)

Application
/Interaction
Logic

Packaging

JavaScript Files/Embedded
JavaScript

Managed Assemblies (DLL),

JavaScript Files/Embedded
JavaScript

Possible

(not final) Release
Timeframe

(Official Support)

Summer
´
07

Spring

´
08

Available

Libraries/Library
Support

No special

Silverlight
JavaScript Libraries available.
Standard AJAX
libraries

can

be

used

.Net libraries for IO,
Threading, Networking (incl.

Web Services)
, Collections,
Generics, LINQ

are

available
and it supports the use of
standard AJAX libraries

Managed

DOM API (Access
HTML Elements from
managed Code)

N/A

Yes

High
-
Level Controls

No

(Ajax
Only
)

Sample

Control

Kit (Button,
Listbox
, etc.)

JavaScript/.Net

Interaction

N/A

Yes

Automatic

Marshalling of
.Net Types Into JSON

N/A

Yes

Dynamic Language
Support

No

Yes (Python, Ruby,
Managed

JavaScript,
Dynamic VB)

Plug
-
In Size

2

mb

4.5

mb

Installation Time

~15
Seconds

~20
Seconds

Code

Execution

Pattern

Interpreted (JavaScript)

Native (JIT
Compilation
,

Managed

Code)


Much
faster

Differences between SL and WPF

Silverlight (Universal Web)

WPF (Experience First)


創湳R潮oI䔬⁓Ef慲椬⁆楲efo


䡯Ht敤e⬠摥灬oy敤e睩w栠h䔠慳⁘E䅐
灬畳⁆urefo
f潲 坩湤Ww猠睩w栠.久N 䙸″⸵⤮


創湳R潮o坩湤Ww猠⬠䵡挠c慮搠䱩湵nⰠ
which is unsupported)


Runs on Windows only


卵S獥t 潦o坐䘠f畮捴i潮慬it礠


I湣汵摥猠3䐠杲慰桩捳c⁡ v慮捥搠det y潵oⰠ
桡r摷慲攠慣捥l敲at敤e癩v敯e⬠潴o敲 f敡t畲敳ei渠
慤摩ti潮ot漠睨wt⁓楬v敲li杨t 潦f敲s


創湳Ri渠愠a敢e扲ow獥s 潮oy


創湳Ri渠扲ow獥s 潲 慳⁗楮摯w猠慰瀠


啳U 䵅Mf潲 扲潡o
-
r敡捨ⰠInt敲湥t⁦慣a湧
w敢獩t敳e



啳U 䵅Mt漠敮慢o攠ei捨敳t e灥pi敮捥Ⱐi湳t慬l敤e
睩w摯w猠慰p猬⁡湤s獣s湡ri潳o睨敲e

.久N″.⁩猠
摥灬oy敤


䍡渠et敮搠⬠楮t敧eat攠睩w栠histi湧
basic and AJAX
-
enabled Web apps


Can extend + integrate with existing WinForms
and Win32 UI applications (via HWND interop)


Requires: compatible browser +
Silverlight runtime; will prompt +
download runtime bits as needed


R敱畩r敳㨠久N″.0 i湳t慬l敤e潮o扯

DEMO 2


Building a “Hello World”
Application with
Silverlight

1.1

Agenda

Introducing Silverlight

Examining Silverlight Architecture

Exploring
Silverlight

Media

Silverlight Media Experiences

Quality and Variety

Stunning video quality up to HD (720p)

Video: SMPTE
-
standard VC
-
1, WMV v7, v8, v9 / Audio:
WMA and MP3

Vector
-
based graphics and overlays

Delivery

On
-
Demand or Live Streaming

Performance, scale and cost advantages

Silverlight.Live.com: 4GB free!

Silverlight Media demo’s

DEMO 4




Installing
Silverlight



Using
Silverlight

on a Mac with Safari



Remote Debugging on a Mac


Session Summary

Silverlight takes Rich Interactive Applications to a
whole new level

Broad reach, rich media

.Net, multiple languages

Visual Studio and Expression Studio


For More Information

www.Silverlight.net


www.Microsoft.com/Silverlight


http://Msdn.microsoft.com/Silverlight



For the latest titles, visit

www.microsoft.com/learning/books/itpro/



Microsoft Press Publications