<?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: Single LocalMapService instance in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255429#M1212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mike �??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Starting local services outside of our primary application is something we�??re also considering.&amp;nbsp; We want to reduce our startup speed as much as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You mention the ability to disable the random prefix using the LocalServer Utility tool.&amp;nbsp; Is that something you�??d recommend on a production/client environment?&amp;nbsp; Would that put us in any sort of debug mode (like the HTTP Traffic setting in that LocalServer Utility)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 15:49:46 GMT</pubDate>
    <dc:creator>BrianRassier</dc:creator>
    <dc:date>2013-02-06T15:49:46Z</dc:date>
    <item>
      <title>Single LocalMapService instance</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255424#M1207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an WPF application displaying a simple map which always uses the same mpk but is passed as an argument the map extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Several instances of this application can run concurrently with different map extents but they all instantiate their own LocalMapService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to ensure there is only one service running for all application instances when one instance is already running to save the precious seconds it takes to launch the service ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any hints&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;La vouillas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2013 13:58:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255424#M1207</guid>
      <dc:creator>StéphaneVouillamoz</dc:creator>
      <dc:date>2013-01-01T13:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Single LocalMapService instance</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255425#M1208</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;BR /&gt;&lt;SPAN&gt;For my knowledge, you cannot share local services between the application instances. Every application has it's own Local Server instance and services running that is restricted and secured only for that application. What you can and should do is to create functionality to kick services up on background and visualize the loading accordingly. You can find some starters for that from SDK samples and Local Server / Local Server / Local Server Management example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 05:22:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255425#M1208</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2013-01-02T05:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Single LocalMapService instance</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255426#M1209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I finally made it work. I'm starting a local map service in a console application using LocalMapService and store the random URL in a database. Then I'm starting a WPF client reading the URL from the database and using&amp;nbsp; ArcGISDynamicMapServiceLayer (not ArcGISLocalDynamicMapServiceLayer) for instance to connect to the REST local service provided by the console application. I can launch as many WPF clients as I want. I no longer have the penalty of waiting for the server to start then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bottom line is that you&amp;nbsp; need to pass on the random URL used by the Server to the Client. I used a database as it was available in my application but they are many ways. Of course, you have to deal with inter process synchronization as well as the client has to wait for the service to be ready. I used EventWaitHandle class to achieve it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 08:17:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255426#M1209</guid>
      <dc:creator>StéphaneVouillamoz</dc:creator>
      <dc:date>2013-01-18T08:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Single LocalMapService instance</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255427#M1210</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;BR /&gt;&lt;SPAN&gt;#. RE: Random URL:- note that you can disable the random prefix by using the LocalServerUtility tool in the Start Menu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#. RE: Multiple application instances:- Are these mutliple instances of the sample application? Or different applications? If they are different applications you will need to license each one separately. The ArcGIS Runtime licensing is per application, not per machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 13:18:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255427#M1210</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-01-21T13:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Single LocalMapService instance</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255428#M1211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are several instances of the same application zooming on different extents. They all use the same server application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The penalty of starting the server is only on the first instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vouillas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 06:50:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255428#M1211</guid>
      <dc:creator>StéphaneVouillamoz</dc:creator>
      <dc:date>2013-01-31T06:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Single LocalMapService instance</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255429#M1212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mike �??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Starting local services outside of our primary application is something we�??re also considering.&amp;nbsp; We want to reduce our startup speed as much as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You mention the ability to disable the random prefix using the LocalServer Utility tool.&amp;nbsp; Is that something you�??d recommend on a production/client environment?&amp;nbsp; Would that put us in any sort of debug mode (like the HTTP Traffic setting in that LocalServer Utility)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 15:49:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255429#M1212</guid>
      <dc:creator>BrianRassier</dc:creator>
      <dc:date>2013-02-06T15:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Single LocalMapService instance</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255430#M1213</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;BR /&gt;&lt;SPAN&gt;Disabling the random prefix in the LocalServerUtility (or config file) does not introduce any other debugging activity but what it does mean is any application on the deployment machine could more easily find and interact with the RuntimeLocalServer instance by simply requesting the main url and trying different port numbers until it got the correct response. For this reason we added the random prefix to provide an additional level of security. However, this scenario would entail another application actively/maliciously looking for that URL to exploit. Whether you consider that a security risk is really up to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 09:37:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255430#M1213</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-02-07T09:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Single LocalMapService instance</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255431#M1214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mike!&amp;nbsp; That insight helps our team a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 12:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/single-localmapservice-instance/m-p/255431#M1214</guid>
      <dc:creator>BrianRassier</dc:creator>
      <dc:date>2013-02-12T12:41:39Z</dc:date>
    </item>
  </channel>
</rss>

