O'Reilly logo

Microsoft Silverlight 5 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

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

Working cross-domain from a trusted Silverlight application

Applies to Silverlight 4 and 5

In the previous recipe, we looked at the restrictions enforced by the Silverlight runtime when accessing services that do not live in the same domain as the Silverlight application. These are called cross-domain restrictions. To access a service that lives in another domain, a cross-domain policy file should be in place. If not, Silverlight won't communicate with the service.

Starting with Silverlight 4, a new application model was added, namely trusted applications. A trusted application or an application with elevated permissions is similar to an out-of-browser application. However, it gets more permissions on the system. One of these permissions is accessing ...

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