<?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 Tutorial sample does not show basemap (running behind proxy) in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/tutorial-sample-does-not-show-basemap-running/m-p/1199388#M11210</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm a newbie with Esri and just trying my first steps with the Esri runtime SDK for .NET.&lt;/P&gt;&lt;P&gt;When I try the first tutorial ("Display a map") it fails to show the basemap. It simply shows a white area.&lt;/P&gt;&lt;P&gt;Essentially all I do is&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Map = new Map(BasemapStyle.ArcGISTopographic);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm behind a corporate proxy -- so that could be the problem but I'm not sure.&lt;/P&gt;&lt;P&gt;If that's the root cause: How can I configure the runtime to use the proxy (with username and password)?&lt;/P&gt;&lt;P&gt;Could anything else cause that problem?&lt;/P&gt;&lt;P&gt;PS: I did configure the ApiKey.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Christian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2022 14:19:19 GMT</pubDate>
    <dc:creator>cfrob</dc:creator>
    <dc:date>2022-08-04T14:19:19Z</dc:date>
    <item>
      <title>Tutorial sample does not show basemap (running behind proxy)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/tutorial-sample-does-not-show-basemap-running/m-p/1199388#M11210</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm a newbie with Esri and just trying my first steps with the Esri runtime SDK for .NET.&lt;/P&gt;&lt;P&gt;When I try the first tutorial ("Display a map") it fails to show the basemap. It simply shows a white area.&lt;/P&gt;&lt;P&gt;Essentially all I do is&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Map = new Map(BasemapStyle.ArcGISTopographic);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm behind a corporate proxy -- so that could be the problem but I'm not sure.&lt;/P&gt;&lt;P&gt;If that's the root cause: How can I configure the runtime to use the proxy (with username and password)?&lt;/P&gt;&lt;P&gt;Could anything else cause that problem?&lt;/P&gt;&lt;P&gt;PS: I did configure the ApiKey.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Christian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 14:19:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/tutorial-sample-does-not-show-basemap-running/m-p/1199388#M11210</guid>
      <dc:creator>cfrob</dc:creator>
      <dc:date>2022-08-04T14:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial sample does not show basemap (running behind proxy)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/tutorial-sample-does-not-show-basemap-running/m-p/1203671#M11271</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;so just answering my own question in the hopes that it might help someone else in the future.&lt;/P&gt;&lt;P&gt;As it seems one can use standard .NET mechanics to make the Runtime use a proxy.&lt;/P&gt;&lt;P&gt;Simply configure &lt;FONT face="courier new,courier"&gt;HttpClient.DefaultProxy&lt;/FONT&gt; before the Runtime makes any HTTP-requests.&lt;BR /&gt;Like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var proxy = new WebProxy(new Uri("http://proxy-host:8080"))
{
	Credentials = new NetworkCredential("&amp;lt;username&amp;gt;", "&amp;lt;password&amp;gt;")
};
HttpClient.DefaultProxy = proxy;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Christian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 12:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/tutorial-sample-does-not-show-basemap-running/m-p/1203671#M11271</guid>
      <dc:creator>cfrob</dc:creator>
      <dc:date>2022-08-17T12:06:00Z</dc:date>
    </item>
  </channel>
</rss>

