amazon s3 - How to determine the host of the silverlight app -
My Silverlight app needs to come back from the host from where it came to its data. How do I get a web-client to connect back to the root of that site? For example, in my silver case an Amazon S3 is sitting in a bucket and loads in the same bucket through an HTML file. I want to do this and then want to work on the GML which has returned from GET.
Use System.Windows.Application.Host - View This example is:
"The following example shows how to use the host to obtain the path of the Silverlight application package."
& lt; UserControl x: Class = "Silverlight Application. Page" xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns: x = "http: // schema .microsoft.com/config / 2006 / XAML "& gt; & Lt; Grid & gt; & Lt; Text block text = "{binding source}" /> & Lt; / Grid & gt; & Lt; / UserControl & gt;
Comments
Post a Comment