<?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 Runtime SDK 10.2.7 First QueryTask takes a long time in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/runtime-sdk-10-2-7-first-querytask-takes-a-long/m-p/1330227#M12119</link>
    <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I am having a weird scenario after upgrading to .NET 4.8. We are still using ArcGIS Runtime SDK 10.2.7. We are looping through our map layers and executing a query task, but the first querytask always takes 15 seconds and all of the next querytasks just runs under 1 or 2 seconds. We are using IdentityManager for the authentication.&lt;/P&gt;&lt;P&gt;Query Task Code:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;QueryTask task = new QueryTask(new Uri(url));
query.OutFields.Add("*");
query.ReturnGeometry = true;

Task&amp;lt;QueryResult&amp;gt; queryTask = task.ExecuteAsync(query);
QueryResult result = await queryTask;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 16:17:56 GMT</pubDate>
    <dc:creator>jgalarse</dc:creator>
    <dc:date>2023-09-19T16:17:56Z</dc:date>
    <item>
      <title>Runtime SDK 10.2.7 First QueryTask takes a long time</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/runtime-sdk-10-2-7-first-querytask-takes-a-long/m-p/1330227#M12119</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I am having a weird scenario after upgrading to .NET 4.8. We are still using ArcGIS Runtime SDK 10.2.7. We are looping through our map layers and executing a query task, but the first querytask always takes 15 seconds and all of the next querytasks just runs under 1 or 2 seconds. We are using IdentityManager for the authentication.&lt;/P&gt;&lt;P&gt;Query Task Code:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;QueryTask task = new QueryTask(new Uri(url));
query.OutFields.Add("*");
query.ReturnGeometry = true;

Task&amp;lt;QueryResult&amp;gt; queryTask = task.ExecuteAsync(query);
QueryResult result = await queryTask;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 16:17:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/runtime-sdk-10-2-7-first-querytask-takes-a-long/m-p/1330227#M12119</guid>
      <dc:creator>jgalarse</dc:creator>
      <dc:date>2023-09-19T16:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime SDK 10.2.7 First QueryTask takes a long time</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/runtime-sdk-10-2-7-first-querytask-takes-a-long/m-p/1330262#M12120</link>
      <description>&lt;P&gt;What version of .NET did you upgrade from where it didn't happen? Was this the only change you made?&lt;BR /&gt;&lt;BR /&gt;(just on a side note, the v10.x releases &lt;A href="https://support.esri.com/en-us/products/arcgis-runtime-sdks/life-cycle" target="_self"&gt;retired four years ago&lt;/A&gt;, and we encourage you port to the &lt;A href="https://support.esri.com/en-us/products/arcgis-maps-sdk-for-net/life-cycle" target="_self"&gt;200.x releases&lt;/A&gt; if you can)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 17:10:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/runtime-sdk-10-2-7-first-querytask-takes-a-long/m-p/1330262#M12120</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2023-09-19T17:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime SDK 10.2.7 First QueryTask takes a long time</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/runtime-sdk-10-2-7-first-querytask-takes-a-long/m-p/1330318#M12124</link>
      <description>&lt;P&gt;What basemap are you using?&lt;/P&gt;&lt;P&gt;If it's imagery take a look at this old post:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-laggy-performance-when-doing-map-identify/m-p/4752#M47" target="_blank"&gt;https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-laggy-performance-when-doing-map-identify/m-p/4752#M47&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Query/Identify tasks will hit the image basemap and take a while to respond... We've had to specifically exclude that layer from query tasks to work around that issue for years now.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 18:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/runtime-sdk-10-2-7-first-querytask-takes-a-long/m-p/1330318#M12124</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2023-09-19T18:33:29Z</dc:date>
    </item>
  </channel>
</rss>

