KEMBAR78
Silverlight abhinav - slideshare | PDF
ABHINAV PATHAK
   Information Technology
What is Silverlight ?
What is Silverlight ?
Microsoft Silverlight is a cross-browser, cross-platform
implementation of the .NET Framework for building and
delivering the next generation of media experiences and rich
interactive applications (RIA) for the Web. Silverlight unifies the
capabilities of the server, the Web, and the desktop, of managed
code and dynamic languages, of declarative and traditional
programming, and the power of Windows Presentation
Foundation (WPF).
State-of-The-Art Application
Features:
Silverlight enables you to create a state-of-the-art application
that has the following features:
• It is a cross-browser, cross-platform technology. It runs in all popular
  Web browsers, including Microsoft Internet Explorer, Mozilla Firefox,
  and Apple Safari, and on Microsoft Windows and Apple Mac OS X.
• It is supported by a very small download that installs in seconds.
• It streams video and audio. It scales video quality to everything from
  mobile devices to desktop browsers to 720p HDTV video modes.
• It includes compelling graphics that users can manipulate—drag, turn,
  zoom—directly in the browser.
• It reads data and updates the display, but it doesn't interrupt the user by
  refreshing the whole page.
• It provides a consistent experience no matter where it runs.
What Features Are in Silverlight?
Extended Features
WPF and XAML:
                  Silverlight includes Windows Presentation
Foundation (WPF) technology, which greatly extends the
elements in the browser for creating UI. WPF lets you create
immersive graphics, animation, media, and other rich client
features, extending browser-based UI beyond what is available
with HTML alone. Extensible Application Markup Language
(XAML) provides a declarative markup syntax for creating WPF
Elements.
Extended Features
Extensions to JavaScript:
                     Silverlight provides extensions to the
universal browser scripting language that provide powerful
control over the browser UI, including the ability to work with
WPF elements.
Extended Features
Cross-browser, cross-platform support:
                      Silverlight runs the same on all popular
browsers (on any platform). You can design and develop your
application without having to worry about which browser or
platform your users have.
Extended Features
Integration with existing applications:
                              Silverlight integrates seamlessly
with your existing JavaScript and ASP.NET AJAX code to
complement functionality you have already created.
Extended Features
Access to the .NET Framework programming model and to
associated tools:
                      You can create Silverlight-based
applications using dynamic languages such as managed Jscript
and IronPython as well as languages such as C# and Visual
Basic. You can use development tools such as Visual Studio to
create Silverlight-based applications.
Extended Features
LINQ:
       Silverlight includes language-integrated query (LINQ),
which enables you to program data access using intuitive native
syntax and strongly typed objects in .NET Framework
languages.
Silverlight Architecture
The Silverlight 1.0 architecture
Silverlight Detail Architecture
                Framework
 Browser Host                Data                    WPF                       Networking                MS AJAX
                      LINQ       XLINQ        Extensible Controls                                         Library
                                                                          REST         POX
 Integrated
                             DLR                      BCL                                               HTML DOM
 Networking
                                                                              RSS      JSON             Integration
    Stack             Ruby       Python       Generics Collections



                                             CLR Execution Engine

  Application
   Services
                                                               XAML                                                   Legend


                               UI Core                               Inputs                            DRM            V1.1

                                                        Keyboard Mouse           Ink                   Media          Legend
                        Vector        Text
   Installer                                                         Media                                            V1.0
                                                                                                   Controls
                       Animation     Images
                                                         VC1        WMA         MP3           Layout      Editing
Silverlight End-to-End Architecture
        Better Platform                Flexible Environment                      Security
      for all type of applications         for programming and media        Data, server, Transfer




                                     Web                          Desktop



 XHTML / ASP.NET                                                                              .NET
 JavaScript / AJAX                                                                       XAML / WPF
       CSS                                                                             Windows Media




                                                Media & RIA
Deployment and Packaging
Content for a Web page that contains Silverlight elements can
be created by using the following tactics:
• Inline XAML and JavaScript.
• External XAML files and
  JavaScript files.
• Compressed content package
  that contains XAML, managed
  code, images, fonts, and
  media. Streaming media
  sources can be referenced
  from the XAML media
  elements.
Silverlight Tools
Silverlight Tools
Supported Platforms & Versions
Supported Platforms
Microsoft Windows                   Macintosh

Silverlight supports the            Silverlight supports the
following versions of Microsoft     following versions of the Mac
Windows:                            operating system:

•   Microsoft Windows Vista         • Mac OS 10.4.8+ (Power PC)
•   Microsoft Windows XP            • Mac OS 10.4.8+ (Intel-based)
•   Microsoft Windows 2000
•   Microsoft Windows Server 2003
Versions of Silverlight
Silverlight 1.0                         Silverlight 1.1 / 2.0
• Create and manage 2D graphics         • All of the functionality included in
  and animation                           Silverlight version 1.0
• Handle mouse, keyboard, and ink       • Support for managed code C#, VB,
  input                                   Python, Ruby.
• Deliver WMV, WMA, and MP3             • XAML extensibility
  media                                 • Control class and sample controls
• Work with JPEG and PNG imaging
• Format and manipulate text
• Communicate with services and
  download server resources by using
  the HTTP downloader
• Parse Extensible Application Markup
  Language (XAML) content and
  markup
• Navigate Web content by utilizing
  the JavaScript Document Object
  Model (DOM)
Advantages & Disadvantages
Silverlight
Advantages                       Disadvantages
• Lightweight at 4-6 MB, quick   • Sandboxing limits functionality
  download                       • Conflicting products within
• .NET based                       Microsoft?
• Write in C# or VB.NET
• Use familiar class libraries
• Rich state-of-the-art GUI
• Vector based
• All types of content handled
  uniformly
• Secure - sandboxed
Resources for Getting Started
Resources for Getting Started
• Silverlight 1.0 - Development with JavaScript: Provides information for
  developing with Silverlight 1.0, which supports the XAML markup language and
  JavaScript for creating applications. Most of the conceptual material contained
  in this section (animations, graphics, XAML, and so on) is also useful to
  Silverlight 2 developers.
• Silverlight 2 Beta 2 - Development with the .NET Framework: Provides
  information for developing with Silverlight 2, which includes .NET Framework
  features.
• Silverlight Technical Articles: Provides additional MSDN articles about
  Silverlight.
• Silverlight.net is a general Silverlight developer site that provides resources
  such as samples, QuickStarts, white papers, instructional videos, forums, and
  blogs. In particular, beginners might want to check out the Silverlight.net Quick
  Starts.
• Silverlight.net provides all the downloads you need to create Silverlight-based
  applications, including developer and designer tools.
Silverlight   abhinav - slideshare

Silverlight abhinav - slideshare

  • 2.
    ABHINAV PATHAK Information Technology
  • 3.
  • 4.
    What is Silverlight? Microsoft Silverlight is a cross-browser, cross-platform implementation of the .NET Framework for building and delivering the next generation of media experiences and rich interactive applications (RIA) for the Web. Silverlight unifies the capabilities of the server, the Web, and the desktop, of managed code and dynamic languages, of declarative and traditional programming, and the power of Windows Presentation Foundation (WPF).
  • 5.
  • 6.
    Features: Silverlight enables youto create a state-of-the-art application that has the following features: • It is a cross-browser, cross-platform technology. It runs in all popular Web browsers, including Microsoft Internet Explorer, Mozilla Firefox, and Apple Safari, and on Microsoft Windows and Apple Mac OS X. • It is supported by a very small download that installs in seconds. • It streams video and audio. It scales video quality to everything from mobile devices to desktop browsers to 720p HDTV video modes. • It includes compelling graphics that users can manipulate—drag, turn, zoom—directly in the browser. • It reads data and updates the display, but it doesn't interrupt the user by refreshing the whole page. • It provides a consistent experience no matter where it runs.
  • 7.
    What Features Arein Silverlight?
  • 8.
    Extended Features WPF andXAML: Silverlight includes Windows Presentation Foundation (WPF) technology, which greatly extends the elements in the browser for creating UI. WPF lets you create immersive graphics, animation, media, and other rich client features, extending browser-based UI beyond what is available with HTML alone. Extensible Application Markup Language (XAML) provides a declarative markup syntax for creating WPF Elements.
  • 9.
    Extended Features Extensions toJavaScript: Silverlight provides extensions to the universal browser scripting language that provide powerful control over the browser UI, including the ability to work with WPF elements.
  • 10.
    Extended Features Cross-browser, cross-platformsupport: Silverlight runs the same on all popular browsers (on any platform). You can design and develop your application without having to worry about which browser or platform your users have.
  • 11.
    Extended Features Integration withexisting applications: Silverlight integrates seamlessly with your existing JavaScript and ASP.NET AJAX code to complement functionality you have already created.
  • 12.
    Extended Features Access tothe .NET Framework programming model and to associated tools: You can create Silverlight-based applications using dynamic languages such as managed Jscript and IronPython as well as languages such as C# and Visual Basic. You can use development tools such as Visual Studio to create Silverlight-based applications.
  • 13.
    Extended Features LINQ: Silverlight includes language-integrated query (LINQ), which enables you to program data access using intuitive native syntax and strongly typed objects in .NET Framework languages.
  • 14.
  • 15.
    The Silverlight 1.0architecture
  • 16.
    Silverlight Detail Architecture Framework Browser Host Data WPF Networking MS AJAX LINQ XLINQ Extensible Controls Library REST POX Integrated DLR BCL HTML DOM Networking RSS JSON Integration Stack Ruby Python Generics Collections CLR Execution Engine Application Services XAML Legend UI Core Inputs DRM V1.1 Keyboard Mouse Ink Media Legend Vector Text Installer Media V1.0 Controls Animation Images VC1 WMA MP3 Layout Editing
  • 17.
    Silverlight End-to-End Architecture Better Platform Flexible Environment Security for all type of applications for programming and media Data, server, Transfer Web Desktop XHTML / ASP.NET .NET JavaScript / AJAX XAML / WPF CSS Windows Media Media & RIA
  • 18.
    Deployment and Packaging Contentfor a Web page that contains Silverlight elements can be created by using the following tactics: • Inline XAML and JavaScript. • External XAML files and JavaScript files. • Compressed content package that contains XAML, managed code, images, fonts, and media. Streaming media sources can be referenced from the XAML media elements.
  • 19.
  • 20.
  • 21.
  • 22.
    Supported Platforms Microsoft Windows Macintosh Silverlight supports the Silverlight supports the following versions of Microsoft following versions of the Mac Windows: operating system: • Microsoft Windows Vista • Mac OS 10.4.8+ (Power PC) • Microsoft Windows XP • Mac OS 10.4.8+ (Intel-based) • Microsoft Windows 2000 • Microsoft Windows Server 2003
  • 23.
    Versions of Silverlight Silverlight1.0 Silverlight 1.1 / 2.0 • Create and manage 2D graphics • All of the functionality included in and animation Silverlight version 1.0 • Handle mouse, keyboard, and ink • Support for managed code C#, VB, input Python, Ruby. • Deliver WMV, WMA, and MP3 • XAML extensibility media • Control class and sample controls • Work with JPEG and PNG imaging • Format and manipulate text • Communicate with services and download server resources by using the HTTP downloader • Parse Extensible Application Markup Language (XAML) content and markup • Navigate Web content by utilizing the JavaScript Document Object Model (DOM)
  • 24.
  • 25.
    Silverlight Advantages Disadvantages • Lightweight at 4-6 MB, quick • Sandboxing limits functionality download • Conflicting products within • .NET based Microsoft? • Write in C# or VB.NET • Use familiar class libraries • Rich state-of-the-art GUI • Vector based • All types of content handled uniformly • Secure - sandboxed
  • 26.
  • 27.
    Resources for GettingStarted • Silverlight 1.0 - Development with JavaScript: Provides information for developing with Silverlight 1.0, which supports the XAML markup language and JavaScript for creating applications. Most of the conceptual material contained in this section (animations, graphics, XAML, and so on) is also useful to Silverlight 2 developers. • Silverlight 2 Beta 2 - Development with the .NET Framework: Provides information for developing with Silverlight 2, which includes .NET Framework features. • Silverlight Technical Articles: Provides additional MSDN articles about Silverlight. • Silverlight.net is a general Silverlight developer site that provides resources such as samples, QuickStarts, white papers, instructional videos, forums, and blogs. In particular, beginners might want to check out the Silverlight.net Quick Starts. • Silverlight.net provides all the downloads you need to create Silverlight-based applications, including developer and designer tools.