<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating a Proxy Page for the Map Resources in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25913#M674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jacek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Sep 2010 14:12:16 GMT</pubDate>
    <dc:creator>JacekSobolewski</dc:creator>
    <dc:date>2010-09-14T14:12:16Z</dc:date>
    <item>
      <title>Creating a Proxy Page for the Map Resources</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25911#M672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been working on an application (in SL4) which purpose is to create a PDF file from a visual. The visual (among other things) contains maps that can come from cross domain resources. I use WriteableBitmap class to create a bitmap out of the visual. Unfortunately, WriteableBitmap has a limitation where it will refuse to give pixels of images that come from a domain that is different from the application. I have seen some suggestions that perhaps using a proxy page for the cross domained resources can solve this problem. So my question is: how does one set up a proxy page?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions, answers will be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jacek Sobolewski&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 19:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25911#M672</guid>
      <dc:creator>JacekSobolewski</dc:creator>
      <dc:date>2010-09-13T19:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Proxy Page for the Map Resources</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25912#M673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jacek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is how you set up a proxy page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help/Secure_services.htm"&gt;http://help.arcgis.com/en/webapi/silverlight/help/Secure_services.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is under "Using ArcGIS Server" topic in the Silverlight API help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help/index.html"&gt;http://help.arcgis.com/en/webapi/silverlight/help/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you set up your proxy page (config and ashx), add proxyUrl to your services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't used proxy page for your purpose, but I it is worth to give it a try. I think, it will work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 14:08:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25912#M673</guid>
      <dc:creator>DarinaTchountcheva</dc:creator>
      <dc:date>2010-09-14T14:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Proxy Page for the Map Resources</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25913#M674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jacek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 14:12:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25913#M674</guid>
      <dc:creator>JacekSobolewski</dc:creator>
      <dc:date>2010-09-14T14:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Proxy Page for the Map Resources</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25914#M675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jacek&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also trying to create an image of the current map control state. And I experienced the same cross domain issue with the WriteableBitmap class, because of the ArcGIS Online background layers I'm using in the map. Did the approach with the proxy page work? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stefan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 08:09:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25914#M675</guid>
      <dc:creator>stefanschlaefli</dc:creator>
      <dc:date>2010-12-15T08:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Proxy Page for the Map Resources</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25915#M676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Stefan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes it did.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, you will do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://servername/../proxy.ashx?http://servername/../ServiceName/MapService"&gt;http://servername/../proxy.ashx?http://servername/../ServiceName/MapService&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, make sure that your proxy allows a particular service. You can configure a proxy through its configuration file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you have any questions about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jacek&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Jacek&lt;BR /&gt;&lt;BR /&gt;I am also trying to create an image of the current map control state. And I experienced the same cross domain issue with the WriteableBitmap class, because of the ArcGIS Online background layers I'm using in the map. Did the approach with the proxy page work? &lt;BR /&gt;&lt;BR /&gt;Cheers &lt;BR /&gt;Stefan&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 12:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/creating-a-proxy-page-for-the-map-resources/m-p/25915#M676</guid>
      <dc:creator>JacekSobolewski</dc:creator>
      <dc:date>2010-12-15T12:01:20Z</dc:date>
    </item>
  </channel>
</rss>

