<?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 Server URI changed by ServerInfo in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/server-uri-changed-by-serverinfo/m-p/1174542#M11005</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the server URI is changed by the ServerInfo constructor in version 100.14. This did not happen in earlier versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var serverUrl = new Uri("https://arcgis.com/sharing/rest");
var serverInfo = new ServerInfo(serverUrl);
// serverInfo.ServerUri is now "https://arcgis.com/sharing"
// Passing that URI into e.g. ArcGISPortal.CreateAsync() throws an exception&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This causes logins to saved servers (serialized ServerInfo objects for which the ServerURI now is changed when deserialized) in my application to fail.&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 15:53:25 GMT</pubDate>
    <dc:creator>mahj</dc:creator>
    <dc:date>2022-05-17T15:53:25Z</dc:date>
    <item>
      <title>Server URI changed by ServerInfo</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/server-uri-changed-by-serverinfo/m-p/1174542#M11005</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the server URI is changed by the ServerInfo constructor in version 100.14. This did not happen in earlier versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var serverUrl = new Uri("https://arcgis.com/sharing/rest");
var serverInfo = new ServerInfo(serverUrl);
// serverInfo.ServerUri is now "https://arcgis.com/sharing"
// Passing that URI into e.g. ArcGISPortal.CreateAsync() throws an exception&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This causes logins to saved servers (serialized ServerInfo objects for which the ServerURI now is changed when deserialized) in my application to fail.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 15:53:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/server-uri-changed-by-serverinfo/m-p/1174542#M11005</guid>
      <dc:creator>mahj</dc:creator>
      <dc:date>2022-05-17T15:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Server URI changed by ServerInfo</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/server-uri-changed-by-serverinfo/m-p/1175567#M11013</link>
      <description>&lt;P&gt;Please post the exception&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 14:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/server-uri-changed-by-serverinfo/m-p/1175567#M11013</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2022-05-19T14:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Server URI changed by ServerInfo</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/server-uri-changed-by-serverinfo/m-p/1175572#M11014</link>
      <description>&lt;P&gt;An Esri.ArcGISRuntime.Http.ArcGISWebException with the message "Invalid URL" is thrown, but I feel that is not the problem, only a symptom of the changed URL:s.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 14:57:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/server-uri-changed-by-serverinfo/m-p/1175572#M11014</guid>
      <dc:creator>mahj</dc:creator>
      <dc:date>2022-05-19T14:57:56Z</dc:date>
    </item>
  </channel>
</rss>

