Select to view content in your preferred language

Is it a good idea to run ArcPy in .Net App

315
0
01-24-2023 03:35 PM
AlexBykov
New Contributor

Hey guys, 

I need to create an app to:

1. set arcGIS Server1 (no portal or webAdapter) to maintenance mode

2. publish MapServer, GeoCodingServer, NetworkAnalyst for routing to Server 1

I found that ArcGIS REST API will allow me to set Machine (Server1) to maintenance mode.
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.

As the result, I need to use ArcPy.
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.

 

Please direct me.

Thank you very much!

Alex.

0 Kudos
0 Replies