Basic silverlight

469 views
428 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
469
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Basic silverlight

  1. 1. Silverlight<br />Introduction<br />
  2. 2. Silverlight<br />Is a cross-browser, cross-platform implementation of the .NET Framework for building media experiences and rich interactive applications for the Web.<br />Is a subset of Windows Presentation Foundation<br />Can be built using C#.NET, VB.NET, F#.NET, and XAML <br />In the past, Silverlight is built with only with Javascript and XAML only<br />Support run on latest browser of Internet Explorer, Firefox, Chrome, and Opera<br />Latest release (Silverlight 4), support out of browser, web cam and 3D (perspective only)<br />Develop and authoring using Microsoft Visual Studio or Microsoft Expression Blend.<br />
  3. 3. MS Visual Studio<br />is a suite of component-based development tools and other technologies for building powerful, high-performance applications. In addition, Visual Studio is optimized for team-based design, development, and deployment of enterprise solutions. <br />Latest version is 2010 and next version is using version 11 (to be release maybe next year in 2012)<br />Support development of silverlight 3 and 4<br />Silverlight can be developed Visual Studio Express (for free) <br />
  4. 4. Expression Blend<br />is a professional design tool to create engaging Web-connected experiences for Windows.<br />Designer can participate on designing silverlight<br />
  5. 5. XAML<br />Declarative vs Imperative : What vs How<br />It based on XML<br />XAML is the primary format for declaring a Silverlight UI and elements in that UI.<br />XAML is the format that is used for declaring styles and templates applied to the logical basis of Silverlight controls and UI.<br />Silverlight XAML defines the visual appearance of a UI, and an associated code-behind file defines the logic.<br />
  6. 6. C#, VB.NET and F#<br />Write in imperative way<br />Defined code logic behind XAML<br />
  7. 7. Getting started<br />Create a Silverlight project in Visual Studio.<br />Add some XAML statement in the xaml file like create button.<br />Add some event handler to its button<br />Add some code to its handler<br />Run the code<br />
  8. 8. Getting started<br />XAML is about manipulating value(s) of property.<br />Value can be real value or attached property.<br />
  9. 9. Transform<br />defines how to map, or transform, points from one coordinate space to another coordinate space<br />For complex transformation usually developer provide custom matrix<br />Basic provided transformation: Scale, Skew, Rotate and Translate<br />
  10. 10. Animation<br />It is an illusion that is created by quickly cycling through a series of images, each slightly different from the last. The brain perceives the group of images as a single changing scene<br />It animate objects by applying animation to their individual properties; including property that is defined in the render transform<br />
  11. 11. Animation<br />Every animation must be defined on storyboard. <br />Animation type can be varied based developer needs.<br />
  12. 12. References<br />http://msdn.microsoft.com<br />http://silverlight.net<br />http://microsoft.com/express<br />BLOG : http://mugi.or.id/blogs/nicko/<br />

×