1 / 25

introduction to silverlight

we are providing professional training in gandhinagar. .net training in gandhinagar php training in gandhinagar java training in gandhinagar ios training in gandhinagar android training in gandhinagar

jayc8586
Télécharger la présentation

introduction to 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Silverlight – overview .NET TRAINNING IN GANDHINAGAR .

  2. ShreedhoonInfotech • Address :  443, Third Floor,Sec- 16 shopping center,Nr, Petrol Pump, Gandhinagar - 382016,Gujarat, India. • Phone: (+91)98-98-843264 • Email: shreedhoon@gmail.com .NET TRAINNING IN GANDHINAGAR .

  3. Include in Presentation • Why should we use to silverligh. • What is silverlight. • Best suited application. • Part or dependent. • What is RIA. • Platform support. • Advantage and limitation of usage. • WPF Vs Silverlight. • Deepzoom technologies. • Silverlight live demos. • What is xaml. • Using interaction with html and aspx. .NET TRAINNING IN GANDHINAGAR .

  4. Why Silverlight?  Features of Silverlight are: • It's FREE. • It runs on all popular browsers, platforms, and devices. • It can be run in browser and as a desktop application. • Easy to create. • Enables business application development. • Supports 2D/3D animations/graphics. • Natively supports CLR and .NET Framework. • Can be automated using JavaScript. • Supports a variety of media (audio/video) formats with streaming capabilities. • Supports a variety of rich controls including the DataGrid. .NET TRAINNING IN GANDHINAGAR .

  5. What is Silverlight? • Silverlight is a Microsoft technology aimed to help developers create rich interactive Web applications with the best user interface features and business logic functionalities. • It’s subset of WPF. • It`s adobe flash competitor. • Its provide flash functionality with business logic. .NET TRAINNING IN GANDHINAGAR .

  6. Silverlight Best Suited for Following • Advanced Graphics and Animations. • Data Visualization with AJAX technology. • Rich Interactive games, Web gadgets, and Ad Banners • Advanced Media Applications .NET TRAINNING IN GANDHINAGAR .

  7. Silverlight is comprised of four main parts: • Silverlight Plug-in • Silverlight Host, the Web Page. • Silverlight Application File (.XAP) • The Interface language, Extensible Application Markup Language (XAML). .NET TRAINNING IN GANDHINAGAR .

  8. A Silverlight Plug-in is the engine that renders the  • Silverlight application in the browser. • The host is the web page where Silverlight Application is hosted, • The Silverlight Application is the Internet Application which is developed using Microsoft Visual Studio and Expression Blend. • The core of the Silverlight technology is an Extensible Application Markup Language (XAML) which is a declarative programming language used to create rich vector graphics and animations and is used in theSilverlight Application file.

  9. RICH Interactive Applicaton • A Rich Interactive/Internet Application (RIA) is a Web application that’s very interactive with the user and has lots of functionalities. • It’s very similar to desktop applications comparing interactivity and features; however, it’s a Web application that runs on the browser not the desktop. • So we can say that RIA applications have the best functionalities and user interface features of desktop applications and Web applications. • Today, there’re lots of technologies available for creating RIA applications. The most famous platforms are Adobe Flash, Microsoft Silverlight, and Sun Java. It is worth mentioning that every platform of the above mentioned is available through a plugin for the browser, and therefore its runtime must be installed on user’s machine in order to be able to run the application. .NET TRAINNING IN GANDHINAGAR .

  10. Platform Support • Unlike many other Microsoft technologies, Silverlight applications can run everywhere. It’s said to be cross-platform, cross-browser, and cross-device. • It can run on Windows, Linux, and even Mac, it can run on Internet Explorer, Mozilla Firefox, Google Chrome, and many others, and it also can run on PCs, mobile devices, and handhelds. Really it can run everywhere without any code changes! • One more interesting thing is that Silverlight Web applications can be hosted on any server. You can host your Silverlight application on a Windows, Linux, or Mac server without any additional code changes or configuration. .NET TRAINNING IN GANDHINAGAR .

  11. Advantage of Silverlight: • Vector based vs. pixel based • Scalable – Looks good at multiple resolutions • XAML – Similar to HTML • Declarative • Designers and programmers work in parallel • Rich customization is possible in a well-designed way • Silverlight you get cross platform. .NET TRAINNING IN GANDHINAGAR .

  12. Limitation of Silverlight: • Limited image support. Like silverlight fully supported “.jpg” , “.png” extension but limited suport “.gif” extension. .NET TRAINNING IN GANDHINAGAR .

  13. Silverlight VS WPF • Windows Presentation Foundation (WPF) is a graphical subsystem utilizing DirectX for rendering UI in Windows-based application, developed by Microsoft and introduced as part of Microsoft .NET Framework 3.0 and Windows Vista. • Silverlight is actually a subset of WPF, • and formerly Silverlight  was codenamed • WPF/E (WPF/Everywhere) because it’s • considered to be the cross-platform version • of WPF. • WPF focuses on desktop development, • Silverlight focuses on Web development. .NET TRAINNING IN GANDHINAGAR .

  14. Silverlight Deep Zoom • feature of Silverlight is the DeepZoom technology that was introduced by Microsoft as part of Silverlight. • DeepZoom allows you to view very large high resolution images. • It reduces the time of initial load by downloading only the region being viewed at the resolution it’s displayed at. • Subsequent regions are downloaded as the user pans to (or zooms into) them. .NET TRAINNING IN GANDHINAGAR .

  15. Silverlight and XAML • Like WPF, user interface in Silverlight is declared in a specific language called Extensible Markup Language (or XAML, pronounced ‘Zammel’.)  • XAML is an XML-based language created by Microsoft which is used to initialize structured values and objects.  • XAML elements are mapped directly to CLR objects. .NET TRAINNING IN GANDHINAGAR .

  16. Asp.net Developer and and Designer To create an application there are two files are create. • The concept of two files for the same page (e.g. a XAML file for the interface and a CS file for the C# code) separates two main roles in application development, design and development. • The designer can work in the XAML file, and the developer can work in the code file, and both files are linked together. .NET TRAINNING IN GANDHINAGAR .

  17. Deployment Process: • When you build your Silverlight application, the XAML markup, as well as the code and all other resources, is compiled into .NET assemblies which are then compressed using ZIP and stored in a XAP (.xap) file. .NET TRAINNING IN GANDHINAGAR .

  18. The XAP file can then be hosted in a Web server and referenced by Web pages declaring the Silverlightplugin object. And when the user navigates to the page, the XAP file is downloaded to his PC and executed on the Web page by the Silverlight runtime. .NET TRAINNING IN GANDHINAGAR . • So all you need is just to develop your application, get the XAP file, insert the plugin into a Web page, and then publish the page and the XAP file to the Web. .NET TRAINNING IN GANDHINAGAR .

  19. Silverlight Processing Model • Silverlight works much like Javascript • Gets loaded with the page (html or aspx). • Events, like the button click in the previous slides, are processed by bindings between a silverlight control (the button) and an event handler, button1_click. • This works just like Javascript events, with no postback to the server. .NET TRAINNING IN GANDHINAGAR .

  20. Interactions with Asp.Net • Basically none! • Silverlight code-behind can call JavaScript functions provided by the aspx page using Html Document and Html Page classes from the System.Web.Browser namespace. • Silverlight code-behind can use a server-based web service . • So Silverlight can be: • A decoration on a page • A control that draws .NET TRAINNING IN GANDHINAGAR .

  21. Using the Toolbox • You will find that when you pull controls from the Toolbox: • They do not drop onto the designer surface • They do drop onto the Xaml display if it is in focus • You will probably add controls most often simply by writing the Xaml. • Intelligence is a big help for that. .NET TRAINNING IN GANDHINAGAR .

  22. Demo – For Animation .NET TRAINNING IN GANDHINAGAR .

  23. Demo – Yahoo Finance chart:

  24. Summary • Silverlight is a useful subset of WPF • Silverlight complements Asp.Net • Can be served on Asp.Net pages • Can not directly communicate with Asp.Net code. • Runs on browser in scaled-down CLR. • Can communicate with JavaScript .NET TRAINNING IN GANDHINAGAR .

  25. Thank You!!! Share your Query… .NET TRAINNING IN GANDHINAGAR .

More Related