O'Reilly logo

Pro Silverlight 2 in C# 2008 by Matthew MacDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Browser Integration

Because Silverlight applications run in their own carefully designed environment, you're insulated from the quirks and cross-platform headaches that traditionally confront developers when they attempt to build rich browser-based applications. This is a tremendous advantage. It means that you can work with an efficient mix of C# code and XAML markup, rather than struggle through a quagmire of HTML, JavaScript, and browser compatibility issues.

However, there are some cases when you'll need to create a web page that isn't just a thin shell around a Silverlight application. Instead, you might want to add Silverlight content to an existing page, and allow the HTML and Silverlight portions of your page to interact.

There ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required