Pro Silverlight 3 in C#

By Matthew MacDonald

Pro Silverlight 3 in C# Cover Image

Full-color graphics and screenshots throughout make Pro Silverlight 3 in C# an invaluable reference for professional developers wanting to discover the new features of Silverlight 3.

Full Description

  • ISBN13: 978-1-4302-2381-8
  • User Level: Intermediate to Advanced
  • Publication Date: November 9, 2009
  • Available eBook Formats: PDF
  • Print Book Price: $49.99
  • eBook Price: $34.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Full-color graphics and screenshots throughout make Pro Silverlight 3 in C# an invaluable reference for professional developers wanting to discover the new features of Silverlight 3. Author Matthew MacDonald's expert advice guides you through creating rich media applications using Silverlight in the environment you're most productive in—no matter what the target platform.

As you learn about the features that put Silverlight in direct competition with Adobe Flash, such as rich support for 2D and 3D drawing, animations, and media playback, you'll experience the plumbing of .NET and the design model of WPF through Silverlight—all of the same .NET technology that developers use to design next-generation Windows applications. MacDonald provides an comprehensive tutorial written from professional developer to professional developer.

What you’ll learn

  • Develop rich media applications using Silverlight across browsers and platforms.
  • Create a project, set up a layout, and use controls.
  • Handle both 2D and 3D drawing, animation, and media playback through Windows Presentation Foundation (WPF).
  • Integrate web services support.
  • Use Silverlight in conjunction with ASP.NET and its interactions with HTML.

Silverlight 3 is the latest iteration of Microsoft's cross-browser technology for creating rich user experiences on the Web. Like its predecessor, Silverlight 2, it rides atop the .NET Framework for maximum ease of use and coding efficiency. The new technology carries forward much of the work that has been done before and augments it in many important respects, including support for H.264 video, major improvements to the graphics engine (including true 3D rendering), and much richer data-binding options for interfacing with other applications.

Who this book is for

.NET developers encountering Silverlight for the first time. No prior knowledge of WPF or ASP.NET is assumed.

Table of Contents

Table of Contents

  1. Introducing Silverlight
  2. XAML
  3. Layout
  4. Dependency Properties and Routed Events
  5. Elements
  6. The Application Model
  7. Navigation
  8. Shapes and Geometries
  9. Brushes, Transforms,and Bitmaps
  10. Animation
  11. Sound, Video, and Deep Zoom
  12. Styles and Behaviors
  13. Templates and Custom Controls
  14. Browser Integration
  15. ASP.NET Web Services
  16. Data Binding
  17. Data Controls
  18. Isolated Storage
  19. Multithreading
  20. Networking
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

On page 661:

error in this method---
private void UpdateTextRight()
{
// Simulate some work taking place with a five-second delay.
Thread.Sleep(TimeSpan.FromSeconds(5));

// Get the dispatcher from the current page, and use it to invoke
// the update code.
this.Dispatcher.BeginInvoke(SetText);
}

private void UpdateTextRight()
{
txt.Text = "Here is some new text.";
}

in the line---> this.Dispatcher.BeginInvoke(SetText);
SetText was printed instead of UpdateTextRight.