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

Passing credentials and cross-domain access to Twitter from a trusted Silverlight application

Applies to Silverlight 4 and 5

Whenever we need to communicate with a service that is not hosted in the same domain as the Silverlight application, we need to think of cross-domain restrictions. Silverlight will check if a cross-domain policy file is in place at the root of the domain. Silverlight 4 and 5 applications can not only run out-of-browser (a capability added with Silverlight 3 that allows applications to run as a standalone application, instead of in the browser), they can also run as a Trusted Application. Such an application runs with elevated permissions. On the agreement of the user, the application is installed, and has more permissions ...

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