Professional Documents
Culture Documents
Intro A Silverlight
Intro A Silverlight
What is Silverlight?
Introducción a
Powerful Development Platform
Silverlight Engaging, Interactive User Experiences
Clase 9
Gabriel Klestorny
t-gakles@microsoft.com
What is Silverlight?
Media Markers
1
6/30/2010
Full suite of Controls Windows Media Audio 10 Visual State Manager FullContrast
High suite of Controls Windows
DockMedia Audio 10
Panel Visual State
Control Manager
Skinning
Binary XML
Professional support Professional support
MediaStreamSource Managed
Media HTML Bridge
Markers Save Listbox Multiselect Listbox
FileMediaStreamSource Raw A/V PipelineManaged HTML
Wrap Bridge
Panel
Isolated Storage
JavaScript Support Cross
Deep Zoom SOAP and REST Interop
2D Vector Element
IsolatedtoStorage
Element Out Of Deep Zoom
Browser TextSOAP and REST Interop
Rendering &
Enhanced Keyboard Input Support Data Binding AAC audio
Enhanced Keyboard Input Support
Platform
Cross Domain Network Access Animation/Graphics
Multi-Threading Cross Domain Network Access Hardware Fonts
Acceleration
Multi-Threading
ADO.NET Data Services Custom
ADO.NET Data Easing
Services Enhanced Deep Zoom
Support WPF Compatibility Data Binding WPF Compatibility
Merged Resource PerspectiveData Binding3D
video 1080p HD Dictionaries
File Upload Support File Upload Support
AjaxLINQ
Support .NET
Image Support TemplatingCanvas
Model Layout SEO H.264 LINQ .NET Templating Model
Managed Control Deep Linking Managed Control
DRM Powered by .NET Framework Security Support
Framework
DRM Powered by
Themed Application .NET Framework Security DataAccessibility
Validation Pixel Shader Effects
Framework
PlayReady
HTTP Networking Enforcement XAML Parser
Accessibility PlayReady
Support Local FontsEnforcement
High quality resizing High quality resizing Local Data
Direct access to TCP sockets Type Safety Duplex communications Direct accessHD
Text Animation to TCP sockets Compressed
Smooth Type Safety Fonts DRM DuplexData
communications
Audio/Video
Rich Support
Core Framework Cross Verification Basic SSPL Support Rich Core Framework Verification
Basic SSPL Support
Cached
Forms
Remote Debugging
Windows Media Server Support Local Connection Streaming
Remote Debugging
Viewbox
Localization Browser
XMLReader/Writer
Web Services Data Access
Localization
60+ Controls XMLReader/Writer
Composition
Web ServicesCaching
Bitmap Data Access
Managed Exception Connectivity Detection Managed Exception
Support Layout controls Handling Layout
Bitmap API Animation
controls Effects
Handling
Silverlight
2
6/30/2010
Silverlight Capabilities
Data
Inputs • LINQ (Objects and XML)
• Keyboard • Touch • XML
• Mouse • Ink • IsolatedStorage
Code
3
6/30/2010
Shapes Brushes
Controls
Encapsulates functionality
Give it a x:Name
Pretty Shapes
Same properties as in XAML
Events
Make it Do Something
public void myButton_Click(object sender, RoutedEventArgs e)
{ DEMO: CONTROLS + EVENTS
// todo: add code
}
4
6/30/2010
Styling
Per-page or per-application
<Style TargetType="TextBlock"
x:Key="SubHeadingText"> Make it Consistent
DEMO: STYLING
<Setter Property="FontSize"
Value="42" />
<Setter Property="Foreground"
Value="Blue" />
</Style>
Layout
Canvas | Fixed-position
Transforms Animations
5
6/30/2010
Databinding
Powerful Concept
Two types
Code Reuse
Reuse UI
Make it Real
Reuse Code
Resources
Download the tools! Blogs:
http://silverlight.net http://shawnoster.com
http://developer.windowsphone.com http://scorbs.com/work/
http://blogs.msdn.com/b/jstegman/
Community Site
http://adamkinney.com/blog/
http://silverlight.net
http://timheuer.com/blog/
Main Product Site …
Don’t Reinvent The Wheel http://www.microsoft.com/silverlight Presentation based on:
DEMO – CODE REUSE MSDN Center Shawn Oster’s session at MIX 10:
An Introduction to Developing Apps for MS Silverlight
http://msdn.microsoft.com/silverlight
Scott Guthrie’s Developer Launch Keynote:
Online Forums Silverlight 4 Launch
http://silverlight.net/forums
6
6/30/2010
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and
other product names are or may be registered trademarks and/or trademarks in the U.S. and/or
other countries. The information herein is for informational purposes only and represents the
current view of Microsoft Corporation as of the date of this presentation. Because Microsoft
must respond to changing market conditions, it should not be interpreted to be a commitment
on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information
provided after the date of this presentation.