SlideShare une entreprise Scribd logo
1  sur  41
Télécharger pour lire hors ligne
4.0
Supote Phunsakul	
Microsoft MVP ASP/ASP.NET
http://codetoday.net
http://twitter.com/SoftEngine
Software Requirements
•    Visual Studio 2010
•    Silverlight 4 Tools
•    Silverlight 4 Toolkit
•    Expression Blend 4
•    SQL Server 2008 R2
What Is User Experience?
Designer-Developer Productivity
Designer-Developer Productivity
What is XAML?
                                                                    XAML	
  
Extensible Application Markup Language                 UI	
  defini)on	
  (for	
  designers)	
  


                                                         Create	
  Structure	
  


                                                       Lay-­‐Out	
  UI	
  elements	
  
                                    UI	
  
                                 defini;on	
  

                                                Create	
  and	
  define	
  UI	
  elements	
  


                                                      Animate	
  UI	
  elements	
  


                                                                       +	
  
                                                                     Code	
  


                                                       Interac;vity	
  &	
  logic	
  
Declarative Programming Through
XAML

                                   •  Easily	
  toolable,	
  declara)ve	
  markup	
  
                                   •  Code	
  and	
  content	
  are	
  separate	
  
                                   •  Can	
  be	
  rendered	
  in	
  the	
  browser	
  /	
  standalone	
  applica)on	
  




  XAML	
                                           C#	
                                            VB.NET	
  
<BuAon	
  Width="100">	
  OK	
                    BuAon	
  b1	
  =	
  new	
  BuAon();	
          Dim	
  b1	
  As	
  New	
  BuAon	
  
	
  	
  <BuAon.Background>	
                      b1.Content	
  =	
  "OK";	
                     b1.Content	
  =	
  "OK"	
  
	
  	
  	
  	
  LightBlue	
                       b1.Background	
  =	
  new	
  SolidColorBrush   b1.Background	
  =	
  New	
  _	
  
	
  	
  </BuAon.Background>	
                     (Colors.LightBlue);	
                          	
  	
  	
  	
  SolidColorBrush(Colors.LightBlue)	
  
</BuAon>	
                                        b1.Width	
  =	
  100;	
                        b1.Width	
  =	
  100	
  
What’s Silverlight?	
•    Cross-browser, Cross-platform Technology.

•    Lightweight download.

•    Provides a rich model for 2D drawing.

•    Including buttons, text boxes, lists, grid and etc.

•    Have a time-based animation model.

•    Provides playback of Media Audio, Video.

•    Includes a scaled-down version of the CLR.

•    Can call ASP.NET Web Services or Windows Communication Foundation (WCF)

•    Silverlight data binding provides a convenient way to display large amounts of data.
What’s Silverlight?
Silverlight and Flash
RIA – Rich Internet Application	



               VS.
History of Silverlight


Silverlight 1.0 Beta    Silverlight 1.0   Silverlight 2 Beta Silverlight 2
Silverlight 1.1 Alpha




Silverlight 3 Beta      Silverlight 3     Silverlight 4 Beta Silverlight 4
Silverlight 1.0



               Designer /
 X-Browser                   High Quality
               Developer
 X-Platform                  Audio/Video
               Workflow

               Animation &
                             Skills Reuse
Auto-Updater     Vector
                               (AJAX)
                Graphics
Silverlight 2



     High
                Flexible Data   Rich UI Controls
 Performance
                   Access        & Deep Zoom
   Runtime


   Content       Robust          Role-Based
  Protection    Networking       Tools & DLR
Silverlight 3



                    GPU            Navigation &
Out of Browser
                 Acceleration       Validation


                  Perspective
 H.264 / AAC     Transforms &    Silverlight Toolkit
                 Pixel Shaders
Silverlight 4




Elevated Trust     Printing     Webcam / Mic



 Rich Text &         Input      Localized to 41
HTML Hosting     Improvements     Languages
Silverlight 4 Beta
Out of Browser Applications                                          Databinding Improvements
        Elevated Privileges Support (including Automation)                   DataBinding Support for DependencyObjects
        HTML Hosting Support                                                 StringFormat, TargetNullValue & FallBackValue Properties
        Notifications                                                        on Binding
Media                                                                        Binding to String Indexers
        WMS Multicast Support                                                IDataErrorInfo Support
        MP4 Playback Protected by PlayReady DRM                              Asynchronous Data Validation (INotifyDataErrorInfo)
        Offline DRM                                                          ObservableCollection<T> IList/IEnumerable cstrs
        Output Protection                                            Graphics/Imaging
        WebCam/Mic Support (raw stream only)                                 Support for more PNG Formats
Printing                                                                     Unseal Path
        Printing Support                                                     CompositeTransform
Text                                                                 Networking
        RichTextBox                                                          UDP Listener
        Arabic and Hebrew Text Support                                       Automatically Adding Referer Header
        IME Improvements for TextBox                                         Authentication Support on ClientHttpWebRequest
        UIElement.TextInput event                                            Memory Usage Fix During Progressive Downloads
Controls, Control Model, Layout                                      Tools Support
        Theming via Implicit Styles                                          Dispatcher Support on the Tools Design Surface
        ViewBox                                                      SDK
        RTL Layout                                                           ADO.NET Data Services 2.0 Support
        DataGrid * Column Support                                            Managed Extensibility Framework (MEF)
        ItemsControl support for Blend Fluid Layout                          Better Transport for WCF (Socket Support)
        MouseWheel Support on ScrollViewer, TextBox, ComboBox,       Other
        Calendar, DatePicker                                                 Support for C# & VB.NET 4.0 Features
        VisualStateGroup.CurrentStateGroup property                          Expose Runtime Version to 3rd Party DLLs
        Command Property on ButtonBase & Hyperlink                           NGEN Support for Core Runtime Binaries
        SelectedValue and SelectedValuePath Properties on Selector           Group Policy Hooks to Disable WebCam & Elevated Apps
Navigation
        Navigation Loader Extensibility (Hook Frame Navigates)
Silverlight 4 RC
Parser                                                            Media
         New architecture enables future innovation                       Webcam/Mic configuration preview
         Performance and stability improvements                           More descriptive MediaSourceStream errors
         XmlnsPrefix & XmlnsDefinition attributes                         Updates to H.264 content protection (ClearNAL)
         Support setting order-dependent properties                       Digital Constraint Token
Input                                                                     CGMS-A
         Pinned full-screen mode on secondary display                     Graphics card driver validation & revocation
         HTML hosting accessibility                               Graphics/Imaging
         Arabic, Hebrew and Thai input on Mac                             Hardware-accelerated Perspective Transforms
Rich Text                                                                 Ability to query page size and printable area
         Text position and selection APIs                                 Memory usage and perf improvements
         RichTextBox.Xaml property for serializing text content   Data
         XAML clipboard format                                            Entity-level validation support of INotifyDataErrorInfo for
         FlowDirection support on Runs                                    DataGrid
         “Format then type” support                                       XPath support for XML
         Thai & Vietnamese input support                          SDK
         UI Automation Text pattern                                       System.Numerics.dll
Networking                                                                System.Xml.XPath.dll
         UploadProgress support (client stack)                            Dynamic XAP support (MEF)
         Caching support (client stack)                                   Frame/Navigation refresh support
         Sockets policy file retrieval via HTTP                   Other
         Accept-Language header                                           Support for 32 new languages (41 total)
Out of Browser / Elevated Trust                                           Update to DeepZoom code base with HW acceleration
         XAP signing                                                      Support for Private mode browsing
         Silent install and emulation mode                                Google Chrome support (Windows)
         Custom window chrome                                             FrameworkElement.Unloaded event
         Better support for Automation                                    IsoStore perf improvements
         Cancelable shutdown event
         Updated security dialogs
         Sockets security restrictions removal
Parser
•  New architecture enables future
   innovation
•  Performance and stability improvements
•  Support setting order-dependent
   properties
•  XmlnsPrefix & XmlnsDefinition attributes
Input
•  Mouse wheel support
   –  ScrollViewer, TextBox, ComboBox, Calendar, DatePicker
•  Pinned full-screen mode on secondary display
•  HTML Hosting accessibility
•  Arabic, Hebrew, Indic, Thai input and render
Rich Text
•  RichTextBox control        •  “Format then type”
•  Text position and             support
   selection APIs             •  UI Automation Text
•  “Xaml” property for           pattern
   serializing text content   •  FlowDirection support
•  XAML clipboard format         on Runs
Networking
•    UDP Listener
•    Automatically Adding Referer Header
•    Authentication Support on ClientHttpWebRequest
•    UploadProgress support (client)
•    Caching support (client)
•    Sockets policy file retrieval via HTTP
•    Accept-Language header
Out of Browser
•    Support for Automation (native integration)
•    HTML Hosting
•    Notifications
•    XAP signing
•    Silent install and emulation mode
•    Custom window chrome
•    Better support for COM Automation
•    Cancelable shutdown event
•    Updated security dialogs
•    Sockets security restrictions removal
Media
•  MP4 Playback Protected by PlayReady DRM
•  Offline DRM
•  Output Protection
  –  Updates to H.264 content protection (ClearNAL)
  –  Digital Constraint Token
  –  CGMS-A
  –  Graphics card driver validation & revocation
•  Webcam/Mic configuration preview
•  More descriptive MediaSourceStream errors
•  Content & Output protection updates
Graphics & Printing
•    Support for more PNG Formats
•    CompositeTransform
•    HW accelerated Perspective Transforms
•    Memory usage and perf improvements
•    Printing support
     –  Ability to query page size and printable area
Data
•  IDataErrorInfo Support
•  Entity-level validation support of
   INotifyDataErrorInfo for DataGrid
•  StringFormat, TargetNullValue &
   FallBackValue Properties on Binding
•  Binding to String Indexers
•  XPath support for XML
Wait, there’s more…
•  NGEN Support for Core Runtime Binaries
•  Support for 32 new languages (41 total)
•  Theming via Implicit Styles
•  Support for Private mode browsing
•  Google Chrome support (Windows)
•  Group Policy Hooks to Disable WebCam, Elevated
   Apps, etc.
•  IsoStore perf improvements
•  SDK
     •  System.Numerics.dll & System.Xml.XPath.dll
     •  Dynamic XAP support (MEF)
     •  Frame/Navigation refresh support
Graphics
•  Both vector and raster assets are
   supported
•  Raster
  –  Photoshop (PSD) import
  –  PNG 8/24
  –  JPG
•  Vector
  –  Illustrator Import
  –  XAML Shape Class (Ellipse, Line, Path, etc.)
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5

Contenu connexe

Tendances

SPEC INDIA Java Case Study
SPEC INDIA Java Case StudySPEC INDIA Java Case Study
SPEC INDIA Java Case Study
SPEC INDIA
 
Ajax In Enterprise Portals Wesley Hales
Ajax In Enterprise Portals Wesley HalesAjax In Enterprise Portals Wesley Hales
Ajax In Enterprise Portals Wesley Hales
rajivmordani
 
Ajax World Oct2008 Jrd
Ajax World Oct2008 JrdAjax World Oct2008 Jrd
Ajax World Oct2008 Jrd
rajivmordani
 
Inaugural address manjusha - Indicthreads cloud computing conference 2011
Inaugural address manjusha -  Indicthreads cloud computing conference 2011Inaugural address manjusha -  Indicthreads cloud computing conference 2011
Inaugural address manjusha - Indicthreads cloud computing conference 2011
IndicThreads
 
Egl Rui Ajax World
Egl Rui Ajax WorldEgl Rui Ajax World
Egl Rui Ajax World
rajivmordani
 
Effective Application Development with WebSphere Message Broker
Effective Application Development with WebSphere Message BrokerEffective Application Development with WebSphere Message Broker
Effective Application Development with WebSphere Message Broker
Ant Phillips
 
Advanced Pattern Authoring with WebSphere Message Broker
Advanced Pattern Authoring with WebSphere Message BrokerAdvanced Pattern Authoring with WebSphere Message Broker
Advanced Pattern Authoring with WebSphere Message Broker
Ant Phillips
 
Licensing (Enforcement & Compliance) Update
Licensing (Enforcement & Compliance) UpdateLicensing (Enforcement & Compliance) Update
Licensing (Enforcement & Compliance) Update
Flexera
 
Lotus Sametime 8.5: Using the new Sametime System Console
Lotus Sametime 8.5: Using the new Sametime System ConsoleLotus Sametime 8.5: Using the new Sametime System Console
Lotus Sametime 8.5: Using the new Sametime System Console
jackdowning
 

Tendances (19)

SPEC INDIA Java Case Study
SPEC INDIA Java Case StudySPEC INDIA Java Case Study
SPEC INDIA Java Case Study
 
Ajax In Enterprise Portals Wesley Hales
Ajax In Enterprise Portals Wesley HalesAjax In Enterprise Portals Wesley Hales
Ajax In Enterprise Portals Wesley Hales
 
Ajax World Oct2008 Jrd
Ajax World Oct2008 JrdAjax World Oct2008 Jrd
Ajax World Oct2008 Jrd
 
Inaugural address manjusha - Indicthreads cloud computing conference 2011
Inaugural address manjusha -  Indicthreads cloud computing conference 2011Inaugural address manjusha -  Indicthreads cloud computing conference 2011
Inaugural address manjusha - Indicthreads cloud computing conference 2011
 
Language Weaver
Language WeaverLanguage Weaver
Language Weaver
 
Application Migration & Enhancement
Application Migration & EnhancementApplication Migration & Enhancement
Application Migration & Enhancement
 
Egl Rui Ajax World
Egl Rui Ajax WorldEgl Rui Ajax World
Egl Rui Ajax World
 
Effective Application Development with WebSphere Message Broker
Effective Application Development with WebSphere Message BrokerEffective Application Development with WebSphere Message Broker
Effective Application Development with WebSphere Message Broker
 
Advanced Pattern Authoring with WebSphere Message Broker
Advanced Pattern Authoring with WebSphere Message BrokerAdvanced Pattern Authoring with WebSphere Message Broker
Advanced Pattern Authoring with WebSphere Message Broker
 
When worlds Collide: HTML5 Meets the Cloud
When worlds Collide: HTML5 Meets the CloudWhen worlds Collide: HTML5 Meets the Cloud
When worlds Collide: HTML5 Meets the Cloud
 
Effectively using Nokia Web Tools 2.0 templates for Series 40 web apps
Effectively using Nokia Web Tools 2.0 templates for Series 40 web appsEffectively using Nokia Web Tools 2.0 templates for Series 40 web apps
Effectively using Nokia Web Tools 2.0 templates for Series 40 web apps
 
Cloud Computing2
Cloud Computing2Cloud Computing2
Cloud Computing2
 
MyMobileWeb Certification Part IV
MyMobileWeb Certification Part IVMyMobileWeb Certification Part IV
MyMobileWeb Certification Part IV
 
Social Photos - My presentation at Microsoft Tech Day
Social Photos - My presentation at Microsoft Tech DaySocial Photos - My presentation at Microsoft Tech Day
Social Photos - My presentation at Microsoft Tech Day
 
CM WebClient for CA Plex
CM WebClient for CA PlexCM WebClient for CA Plex
CM WebClient for CA Plex
 
Optimizing HTML5 Sites with CQ5/WEM
Optimizing HTML5 Sites with CQ5/WEMOptimizing HTML5 Sites with CQ5/WEM
Optimizing HTML5 Sites with CQ5/WEM
 
Licensing (Enforcement & Compliance) Update
Licensing (Enforcement & Compliance) UpdateLicensing (Enforcement & Compliance) Update
Licensing (Enforcement & Compliance) Update
 
Zero to Portlet in 20 minutes or less
Zero to Portlet in 20 minutes or lessZero to Portlet in 20 minutes or less
Zero to Portlet in 20 minutes or less
 
Lotus Sametime 8.5: Using the new Sametime System Console
Lotus Sametime 8.5: Using the new Sametime System ConsoleLotus Sametime 8.5: Using the new Sametime System Console
Lotus Sametime 8.5: Using the new Sametime System Console
 

En vedette (6)

Msg Robot介紹
Msg Robot介紹Msg Robot介紹
Msg Robot介紹
 
Peperiksaan tmk pertengahan tahun 2015
Peperiksaan tmk pertengahan tahun 2015Peperiksaan tmk pertengahan tahun 2015
Peperiksaan tmk pertengahan tahun 2015
 
Content Strategy and Social Media
Content Strategy and Social MediaContent Strategy and Social Media
Content Strategy and Social Media
 
Ek Imagescompiled
Ek ImagescompiledEk Imagescompiled
Ek Imagescompiled
 
Mills Elementary Cac Presentation 3 5 09
Mills Elementary Cac Presentation 3 5 09Mills Elementary Cac Presentation 3 5 09
Mills Elementary Cac Presentation 3 5 09
 
Virtual Tour
Virtual TourVirtual Tour
Virtual Tour
 

Similaire à Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5

Client Continuum Dec Fy09
Client Continuum Dec Fy09Client Continuum Dec Fy09
Client Continuum Dec Fy09
Martha Rotter
 
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
ukdpe
 
Silverlight development
Silverlight developmentSilverlight development
Silverlight development
Anurag Gupta
 
MIX11アップデート ~Windows Phone 7, Silverlight 5, IE9, HTML5~ 前編
MIX11アップデート ~Windows Phone 7, Silverlight 5, IE9, HTML5~ 前編MIX11アップデート ~Windows Phone 7, Silverlight 5, IE9, HTML5~ 前編
MIX11アップデート ~Windows Phone 7, Silverlight 5, IE9, HTML5~ 前編
Microsoft
 
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
ukdpe
 
An Intro to Mobile HTML5
An Intro to Mobile HTML5An Intro to Mobile HTML5
An Intro to Mobile HTML5
James Pearce
 
Microsoft Silverlight 2
Microsoft Silverlight 2Microsoft Silverlight 2
Microsoft Silverlight 2
David Chou
 
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
rsnarayanan
 

Similaire à Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5 (20)

Client Continuum Dec Fy09
Client Continuum Dec Fy09Client Continuum Dec Fy09
Client Continuum Dec Fy09
 
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
 
Silverlight development
Silverlight developmentSilverlight development
Silverlight development
 
Silverlight development
Silverlight developmentSilverlight development
Silverlight development
 
Silverlight 4 Briefing
Silverlight 4 BriefingSilverlight 4 Briefing
Silverlight 4 Briefing
 
MIX11アップデート ~Windows Phone 7, Silverlight 5, IE9, HTML5~ 前編
MIX11アップデート ~Windows Phone 7, Silverlight 5, IE9, HTML5~ 前編MIX11アップデート ~Windows Phone 7, Silverlight 5, IE9, HTML5~ 前編
MIX11アップデート ~Windows Phone 7, Silverlight 5, IE9, HTML5~ 前編
 
Silverlight abhinav - slideshare
Silverlight   abhinav - slideshareSilverlight   abhinav - slideshare
Silverlight abhinav - slideshare
 
Silverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression BlendSilverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression Blend
 
Soa204 Kawasaki Final
Soa204 Kawasaki FinalSoa204 Kawasaki Final
Soa204 Kawasaki Final
 
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
 
ArcReady - Architecting For The Client Tier
ArcReady - Architecting For The Client TierArcReady - Architecting For The Client Tier
ArcReady - Architecting For The Client Tier
 
Silverlight Training
Silverlight TrainingSilverlight Training
Silverlight Training
 
Silverlight Briefing Deck
Silverlight  Briefing  DeckSilverlight  Briefing  Deck
Silverlight Briefing Deck
 
An Intro to Mobile HTML5
An Intro to Mobile HTML5An Intro to Mobile HTML5
An Intro to Mobile HTML5
 
Mike Taulty MIX10 Silverlight 4 Accelerated Fundamentals
Mike Taulty MIX10 Silverlight 4 Accelerated FundamentalsMike Taulty MIX10 Silverlight 4 Accelerated Fundamentals
Mike Taulty MIX10 Silverlight 4 Accelerated Fundamentals
 
Microsoft Silverlight 2
Microsoft Silverlight 2Microsoft Silverlight 2
Microsoft Silverlight 2
 
Xtopia2010 wp7
Xtopia2010 wp7Xtopia2010 wp7
Xtopia2010 wp7
 
DevTeach Ottawa - Silverlight5 and HTML5
DevTeach Ottawa - Silverlight5 and HTML5DevTeach Ottawa - Silverlight5 and HTML5
DevTeach Ottawa - Silverlight5 and HTML5
 
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
 
HTML5, Silverlight & Kinect
HTML5, Silverlight & KinectHTML5, Silverlight & Kinect
HTML5, Silverlight & Kinect
 

Dernier

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5

  • 1. 4.0 Supote Phunsakul Microsoft MVP ASP/ASP.NET http://codetoday.net http://twitter.com/SoftEngine
  • 2. Software Requirements •  Visual Studio 2010 •  Silverlight 4 Tools •  Silverlight 4 Toolkit •  Expression Blend 4 •  SQL Server 2008 R2
  • 3. What Is User Experience?
  • 6. What is XAML? XAML   Extensible Application Markup Language UI  defini)on  (for  designers)   Create  Structure   Lay-­‐Out  UI  elements   UI   defini;on   Create  and  define  UI  elements   Animate  UI  elements   +   Code   Interac;vity  &  logic  
  • 7. Declarative Programming Through XAML •  Easily  toolable,  declara)ve  markup   •  Code  and  content  are  separate   •  Can  be  rendered  in  the  browser  /  standalone  applica)on   XAML   C#   VB.NET   <BuAon  Width="100">  OK   BuAon  b1  =  new  BuAon();   Dim  b1  As  New  BuAon      <BuAon.Background>   b1.Content  =  "OK";   b1.Content  =  "OK"          LightBlue   b1.Background  =  new  SolidColorBrush b1.Background  =  New  _      </BuAon.Background>   (Colors.LightBlue);          SolidColorBrush(Colors.LightBlue)   </BuAon>   b1.Width  =  100;   b1.Width  =  100  
  • 8. What’s Silverlight? •  Cross-browser, Cross-platform Technology. •  Lightweight download. •  Provides a rich model for 2D drawing. •  Including buttons, text boxes, lists, grid and etc. •  Have a time-based animation model. •  Provides playback of Media Audio, Video. •  Includes a scaled-down version of the CLR. •  Can call ASP.NET Web Services or Windows Communication Foundation (WCF) •  Silverlight data binding provides a convenient way to display large amounts of data.
  • 10. Silverlight and Flash RIA – Rich Internet Application VS.
  • 11. History of Silverlight Silverlight 1.0 Beta Silverlight 1.0 Silverlight 2 Beta Silverlight 2 Silverlight 1.1 Alpha Silverlight 3 Beta Silverlight 3 Silverlight 4 Beta Silverlight 4
  • 12. Silverlight 1.0 Designer / X-Browser High Quality Developer X-Platform Audio/Video Workflow Animation & Skills Reuse Auto-Updater Vector (AJAX) Graphics
  • 13. Silverlight 2 High Flexible Data Rich UI Controls Performance Access & Deep Zoom Runtime Content Robust Role-Based Protection Networking Tools & DLR
  • 14. Silverlight 3 GPU Navigation & Out of Browser Acceleration Validation Perspective H.264 / AAC Transforms & Silverlight Toolkit Pixel Shaders
  • 15. Silverlight 4 Elevated Trust Printing Webcam / Mic Rich Text & Input Localized to 41 HTML Hosting Improvements Languages
  • 16. Silverlight 4 Beta Out of Browser Applications Databinding Improvements Elevated Privileges Support (including Automation) DataBinding Support for DependencyObjects HTML Hosting Support StringFormat, TargetNullValue & FallBackValue Properties Notifications on Binding Media Binding to String Indexers WMS Multicast Support IDataErrorInfo Support MP4 Playback Protected by PlayReady DRM Asynchronous Data Validation (INotifyDataErrorInfo) Offline DRM ObservableCollection<T> IList/IEnumerable cstrs Output Protection Graphics/Imaging WebCam/Mic Support (raw stream only) Support for more PNG Formats Printing Unseal Path Printing Support CompositeTransform Text Networking RichTextBox UDP Listener Arabic and Hebrew Text Support Automatically Adding Referer Header IME Improvements for TextBox Authentication Support on ClientHttpWebRequest UIElement.TextInput event Memory Usage Fix During Progressive Downloads Controls, Control Model, Layout Tools Support Theming via Implicit Styles Dispatcher Support on the Tools Design Surface ViewBox SDK RTL Layout ADO.NET Data Services 2.0 Support DataGrid * Column Support Managed Extensibility Framework (MEF) ItemsControl support for Blend Fluid Layout Better Transport for WCF (Socket Support) MouseWheel Support on ScrollViewer, TextBox, ComboBox, Other Calendar, DatePicker Support for C# & VB.NET 4.0 Features VisualStateGroup.CurrentStateGroup property Expose Runtime Version to 3rd Party DLLs Command Property on ButtonBase & Hyperlink NGEN Support for Core Runtime Binaries SelectedValue and SelectedValuePath Properties on Selector Group Policy Hooks to Disable WebCam & Elevated Apps Navigation Navigation Loader Extensibility (Hook Frame Navigates)
  • 17. Silverlight 4 RC Parser Media New architecture enables future innovation Webcam/Mic configuration preview Performance and stability improvements More descriptive MediaSourceStream errors XmlnsPrefix & XmlnsDefinition attributes Updates to H.264 content protection (ClearNAL) Support setting order-dependent properties Digital Constraint Token Input CGMS-A Pinned full-screen mode on secondary display Graphics card driver validation & revocation HTML hosting accessibility Graphics/Imaging Arabic, Hebrew and Thai input on Mac Hardware-accelerated Perspective Transforms Rich Text Ability to query page size and printable area Text position and selection APIs Memory usage and perf improvements RichTextBox.Xaml property for serializing text content Data XAML clipboard format Entity-level validation support of INotifyDataErrorInfo for FlowDirection support on Runs DataGrid “Format then type” support XPath support for XML Thai & Vietnamese input support SDK UI Automation Text pattern System.Numerics.dll Networking System.Xml.XPath.dll UploadProgress support (client stack) Dynamic XAP support (MEF) Caching support (client stack) Frame/Navigation refresh support Sockets policy file retrieval via HTTP Other Accept-Language header Support for 32 new languages (41 total) Out of Browser / Elevated Trust Update to DeepZoom code base with HW acceleration XAP signing Support for Private mode browsing Silent install and emulation mode Google Chrome support (Windows) Custom window chrome FrameworkElement.Unloaded event Better support for Automation IsoStore perf improvements Cancelable shutdown event Updated security dialogs Sockets security restrictions removal
  • 18. Parser •  New architecture enables future innovation •  Performance and stability improvements •  Support setting order-dependent properties •  XmlnsPrefix & XmlnsDefinition attributes
  • 19. Input •  Mouse wheel support –  ScrollViewer, TextBox, ComboBox, Calendar, DatePicker •  Pinned full-screen mode on secondary display •  HTML Hosting accessibility •  Arabic, Hebrew, Indic, Thai input and render
  • 20. Rich Text •  RichTextBox control •  “Format then type” •  Text position and support selection APIs •  UI Automation Text •  “Xaml” property for pattern serializing text content •  FlowDirection support •  XAML clipboard format on Runs
  • 21. Networking •  UDP Listener •  Automatically Adding Referer Header •  Authentication Support on ClientHttpWebRequest •  UploadProgress support (client) •  Caching support (client) •  Sockets policy file retrieval via HTTP •  Accept-Language header
  • 22. Out of Browser •  Support for Automation (native integration) •  HTML Hosting •  Notifications •  XAP signing •  Silent install and emulation mode •  Custom window chrome •  Better support for COM Automation •  Cancelable shutdown event •  Updated security dialogs •  Sockets security restrictions removal
  • 23. Media •  MP4 Playback Protected by PlayReady DRM •  Offline DRM •  Output Protection –  Updates to H.264 content protection (ClearNAL) –  Digital Constraint Token –  CGMS-A –  Graphics card driver validation & revocation •  Webcam/Mic configuration preview •  More descriptive MediaSourceStream errors •  Content & Output protection updates
  • 24. Graphics & Printing •  Support for more PNG Formats •  CompositeTransform •  HW accelerated Perspective Transforms •  Memory usage and perf improvements •  Printing support –  Ability to query page size and printable area
  • 25. Data •  IDataErrorInfo Support •  Entity-level validation support of INotifyDataErrorInfo for DataGrid •  StringFormat, TargetNullValue & FallBackValue Properties on Binding •  Binding to String Indexers •  XPath support for XML
  • 26. Wait, there’s more… •  NGEN Support for Core Runtime Binaries •  Support for 32 new languages (41 total) •  Theming via Implicit Styles •  Support for Private mode browsing •  Google Chrome support (Windows) •  Group Policy Hooks to Disable WebCam, Elevated Apps, etc. •  IsoStore perf improvements •  SDK •  System.Numerics.dll & System.Xml.XPath.dll •  Dynamic XAP support (MEF) •  Frame/Navigation refresh support
  • 27. Graphics •  Both vector and raster assets are supported •  Raster –  Photoshop (PSD) import –  PNG 8/24 –  JPG •  Vector –  Illustrator Import –  XAML Shape Class (Ellipse, Line, Path, etc.)