Passing credentials and cross-domain access to Twitter from a trusted Silverlight application
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 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 on the local system and other capabilities ...
Get Silverlight 4 Data and Services Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.