Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
Full Color Code samples appear as they do in Visual Studio and Expression Blend!
Printed entirely in color, with helpful figures and syntax coloring to make code samples appear as they do in Visual Studio and Expression Blend!
Silverlight is Microsoft’s new web-based User Interface (UI) technology, based on Windows Presentation Foundation (WPF), which is introducing many revolutionary concepts in the world of UI development. Silverlight uses XAML, with tools like Expression Design and Expression Blend, to create astonishing UI effects (such as gradients, compositions, and animations.) In addition to the richness of the UI elements, Silverlight 2 allows the use of C# or VB in addition to JavaScript to automate web pages. With Silverlight, you have the power of .NET on multiple platforms (IE and Firefox on Windows, Firefox and Safari on Macintosh, and Firefox on Linux). The author brings you up to speed very quickly with numerous hands-on examples.
Laurent Bugnion has been a software engineer since 1996. He has worked with many programming languages and environments, including C, C++, Java, HTML/CSS/JavaScript, and, since 2002, the Microsoft .NET platform. He has been honored twice as a Microsoft MVP: first for ASP.NET and now for Client Application Development. He blogs about Silverlight and related technologies at http://blog.galasoft.ch.
ON THE WEB:
Download all examples and source code presented in this book from informit.com/title/9780672330148
Category: Microsoft Programming/Web Programming
Covers: Microsoft® Silverlight 2
User Level: Beginning—Intermediate
Introduction 1
About Code in This Book.... 1
One Year Older..... 2
1 Introducing Silverlight 3
Where Does Silverlight Come From?... 4
Automating Web Pages with JavaScript.. 4
Cascading Style Sheets... 5
Progressing to DHTML... 6
Communicating in a Richer Way with AJAX. 7
Using Third-Party Plug-Ins.... 7
Using Java Applets.... 7
Using ActiveX Controls... 8
Using Flash Applications... 8
Running on Multiple Platforms... 9
Making the Web Application Secure... 10
Introducing Silverlight.net.... 11
What Do You Need to Run Silverlight?.. 11
Updating Your Runtime—Automatically.. 12
Trying Silverlight Demos.... 12
Playing Chess Against Silverlight.. 13
Planning Your Trips with the Airline Application. 14
DeepZooming into the Hard Rock Café.. 15
Finding More Demos... 15
What Do You Need to Develop Silverlight?.. 16
Expression Studio.... 16
Visual Studio 2008.... 17
Reading the Documentation... 17
Browsing the Online Reference.. 18
Finding More Documentation... 18
Learning with Tutorials... 18
Looking into Silverlight’s Future... 19
Is ASP.NET/HTML/JavaScript Dead?.. 19
Summary..... 20
2 Understanding XAML 21
Using XML for Data.... 21
Using XML for User Interfaces... 23
Understanding XML Namespaces... 23
Defining Additional Namespaces... 24
Creating a Canvas with Children... 25
Attaching Properties: Canvas.Left and Canvas.Top.. 26
Documenting Your Markup with XML Comments. 27
Testing XAML Markup.... 27
Using Si
