Abstract: Silverlight is a cross-platform, cross-browser, new RIA technology that Microsoft is fully building, and Silverlight renders languages in XAML, supporting 2D vector graphics, animations, data binding, control styles and templates, LINQ, WCF, JSON, Advanced features such as sockets and cross-domain access, Silverlight is an easy-to-install browser plug-in program for Internet users. As soon as the plugin is installed, users can run the appropriate version of Silverlight applications in multiple browsers on Windows and Macintosh, enjoy video sharing, online games, ad animations, interactive Web services, and more.
Cross-platform cross-browser
A) support for Microsoft and Apple's various operating systems
Silverlight primarily supports Microsoft Windows XP (with Service Pack 2 installed), Microsoft Windows Vista, Microsoft Windows Server 2003, and Apple Mac OS X 10.4. More than 8 operating systems and OS X Leopard operating systems. And it provides a consistent user experience wherever it runs.
b) Many popular browsing devices, IE, Firefox, etc.
Silverlight-supported browsers mainly include IE 6,ie 7,firefox 1.5 or later (Mac OS and Windows) as well as Safari 2.0 browsers. Note: Opera browser is about to be supported.
Note: For other operating systems, Microsoft will also support customer feedback and recommendations in due course.
Just learn Silverlight, play Silverlight, really think this may be a very good development direction, the trend of the future, suddenly found that the recent website or something is weak explosion, the development efficiency is not as Silverlight, nonsense less say, Creating the first Silverlight program before you learn the basics of Windows Phone is a good idea:
Because Silverlight applications must run in a host-hosted HTML page, you need to select an ASP. NET site to host Silverlight, the automatically generated project is the following view, what you see is the resulting page, feel in play WebForm look, Hee ~ ~ ~ ~ ~~~
Directly to a simple, see this XML document, I would like to have a Windows Phone development experience will feel more familiar with it, before learning Windows Phone without contact with this, learning nausea, now is the time to play an advantage
<UserControlx:class= "Silverlightfirst.mainpage"xmlns= "Http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x= "Http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d= "http://schemas.microsoft.com/expression/blend/2008"XMLNS:MC= "http://schemas.openxmlformats.org/markup-compatibility/2006"mc:ignorable= "D"D:designheight= "+"D:designwidth= "The "> <CanvasBackground= "White"> <ButtonContent= "Click on me to try"Click= "Button_click_1"Width= "+"Height= " the"Canvas.Top= "+"Canvas.Left= "+"FontSize= "+"/> <TextBlockx:name= "Silverlight"Canvas.Top= "$"Canvas.Left= " the"FontSize= "Max"Text=""></TextBlock> </Canvas></UserControl>
Just get a simple, click button to change the value of TextBlock:
namespacesilverlightfirst{ Public Partial classMainpage:usercontrol { PublicMainPage () {InitializeComponent (); } Private voidButton_click_1 (Objectsender, RoutedEventArgs e) {Silverlight. Text="Welcome to Silverlight"; } }}
The result of the final finish
References: "Silver Silverlight3.0 development and best practices"
Finally attached to my source: Http://files.cnblogs.com/xmfdsh/silverlight%E7%9A%84%E7%AC%AC%E4%B8%80%E4%B8%AA%E7%A8%8B%E5%BA%8F.rar