<?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 Is it a good idea to run ArcPy in .Net App in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/is-it-a-good-idea-to-run-arcpy-in-net-app/m-p/1251080#M6476</link>
    <description>&lt;P&gt;Hey guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create an app to:&lt;/P&gt;&lt;P&gt;1. set arcGIS Server1 (no portal or webAdapter) to maintenance mode&lt;/P&gt;&lt;P&gt;2. publish MapServer, GeoCodingServer, NetworkAnalyst for routing to Server 1&lt;/P&gt;&lt;P&gt;I found that ArcGIS REST API will allow me to set Machine (Server1) to maintenance mode.&lt;BR /&gt;However, I don't think I can publish SD using REST API. I was thinking to make .NET App to build GUI and access REST API.&lt;/P&gt;&lt;P&gt;As the result, I need to use ArcPy.&lt;BR /&gt;However, when I search for "execute arcPy from .NET" I get answers to use ArcGIS SDK for .NET. I couldn't find the way to publish SD using SDK in the documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please direct me.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;Alex.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2023 23:35:14 GMT</pubDate>
    <dc:creator>AlexBykov</dc:creator>
    <dc:date>2023-01-24T23:35:14Z</dc:date>
    <item>
      <title>Is it a good idea to run ArcPy in .Net App</title>
      <link>https://community.esri.com/t5/developers-questions/is-it-a-good-idea-to-run-arcpy-in-net-app/m-p/1251080#M6476</link>
      <description>&lt;P&gt;Hey guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create an app to:&lt;/P&gt;&lt;P&gt;1. set arcGIS Server1 (no portal or webAdapter) to maintenance mode&lt;/P&gt;&lt;P&gt;2. publish MapServer, GeoCodingServer, NetworkAnalyst for routing to Server 1&lt;/P&gt;&lt;P&gt;I found that ArcGIS REST API will allow me to set Machine (Server1) to maintenance mode.&lt;BR /&gt;However, I don't think I can publish SD using REST API. I was thinking to make .NET App to build GUI and access REST API.&lt;/P&gt;&lt;P&gt;As the result, I need to use ArcPy.&lt;BR /&gt;However, when I search for "execute arcPy from .NET" I get answers to use ArcGIS SDK for .NET. I couldn't find the way to publish SD using SDK in the documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please direct me.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;Alex.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 23:35:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/is-it-a-good-idea-to-run-arcpy-in-net-app/m-p/1251080#M6476</guid>
      <dc:creator>AlexBykov</dc:creator>
      <dc:date>2023-01-24T23:35:14Z</dc:date>
    </item>
  </channel>
</rss>

