Skip to content

Commit

Permalink
ArcGIS Pro SDK 3.0 SDK for .NET
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolf-K committed Oct 27, 2022
1 parent edb4a0d commit fdd1057
Show file tree
Hide file tree
Showing 44 changed files with 5,523 additions and 8 deletions.
47 changes: 47 additions & 0 deletions CoreHost/CoreHostGDB/CoreHostGDB (C#).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## CoreHostGDB

<!-- TODO: Write a brief abstract explaining this sample -->
WPF application that implements a generic File GDB reader



<a href="https://pro.arcgis.com/en/pro-app/sdk/" target="_blank">View it live</a>

<!-- TODO: Fill this section below with metadata about this sample-->
```
Language: C#
Subject: Console
Contributor: ArcGIS Pro SDK Team <[email protected]>
Organization: Esri, https://www.esri.com
Date: 06/10/2022
ArcGIS Pro: 3.0
Visual Studio: 2022
.NET Target Framework: 4.6.1
```

## Resources

[Community Sample Resources](https://github.com/Esri/arcgis-pro-sdk-community-samples#resources)

### Samples Data

* Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the [Releases](https://github.com/Esri/arcgis-pro-sdk-community-samples/releases) page.

## How to use the sample
<!-- TODO: Explain how this sample can be used. To use images in this section, create the image file in your sample project's screenshots folder. Use relative url to link to this image using this syntax: ![My sample Image](FacePage/SampleImage.png) -->
1. Open this solution in Visual Studio
1. Click the build menu and select Build Solution.
1. Click the Start button to run the WPF app.
1. Specify a valid path to a file geodatabase path in the 'Open a GDB' input field and click the 'Open' button.
1. The 'Open a Dataset' dropdown is filled with all available datasets.
1. Select a dataset on the 'Open a Dataset' dropdown and click the 'Read' button.
1. View the table showing the dataset's content.
![UI](Screenshots/Screen.png)



<!-- End -->

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://esri.github.io/arcgis-pro-sdk/images/ArcGISPro.png" alt="ArcGIS Pro SDK for Microsoft .NET Framework" height = "20" width = "20" align="top" >
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[Home](https://github.com/Esri/arcgis-pro-sdk/wiki) | <a href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference" target="_blank">API Reference</a> | [Requirements](https://github.com/Esri/arcgis-pro-sdk/wiki#requirements) | [Download](https://github.com/Esri/arcgis-pro-sdk/wiki#installing-arcgis-pro-sdk-for-net) | <a href="https://github.com/esri/arcgis-pro-sdk-community-samples" target="_blank">Samples</a>
47 changes: 47 additions & 0 deletions CoreHost/CoreHostGDB/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## CoreHostGDB

<!-- TODO: Write a brief abstract explaining this sample -->
WPF application that implements a generic File GDB reader



<a href="https://pro.arcgis.com/en/pro-app/sdk/" target="_blank">View it live</a>

<!-- TODO: Fill this section below with metadata about this sample-->
```
Language: C#
Subject: Console
Contributor: ArcGIS Pro SDK Team <[email protected]>
Organization: Esri, https://www.esri.com
Date: 06/10/2022
ArcGIS Pro: 3.0
Visual Studio: 2022
.NET Target Framework: 4.6.1
```

## Resources

[Community Sample Resources](https://github.com/Esri/arcgis-pro-sdk-community-samples#resources)

### Samples Data

* Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the [Releases](https://github.com/Esri/arcgis-pro-sdk-community-samples/releases) page.

## How to use the sample
<!-- TODO: Explain how this sample can be used. To use images in this section, create the image file in your sample project's screenshots folder. Use relative url to link to this image using this syntax: ![My sample Image](FacePage/SampleImage.png) -->
1. Open this solution in Visual Studio
1. Click the build menu and select Build Solution.
1. Click the Start button to run the WPF app.
1. Specify a valid path to a file geodatabase path in the 'Open a GDB' input field and click the 'Open' button.
1. The 'Open a Dataset' dropdown is filled with all available datasets.
1. Select a dataset on the 'Open a Dataset' dropdown and click the 'Read' button.
1. View the table showing the dataset's content.
![UI](Screenshots/Screen.png)



<!-- End -->

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://esri.github.io/arcgis-pro-sdk/images/ArcGISPro.png" alt="ArcGIS Pro SDK for Microsoft .NET Framework" height = "20" width = "20" align="top" >
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[Home](https://github.com/Esri/arcgis-pro-sdk/wiki) | <a href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference" target="_blank">API Reference</a> | [Requirements](https://github.com/Esri/arcgis-pro-sdk/wiki#requirements) | [Download](https://github.com/Esri/arcgis-pro-sdk/wiki#installing-arcgis-pro-sdk-for-net) | <a href="https://github.com/esri/arcgis-pro-sdk-community-samples" target="_blank">Samples</a>
51 changes: 51 additions & 0 deletions CoreHost/CoreHostResolveAssembly/CoreHostResolveAssembly (C#).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## CoreHostResolveAssembly

<!-- TODO: Write a brief abstract explaining this sample -->
This sample illustrates how to deploy a standalone CoreHost application that resolves the ArcGIS Pro location in order to load the dependent assemblies such as ArcGIS.Core.dll and ArcGIS.CoreHost.dll from the ArcGIS Pro install location.
Except for the dynamic assembly loading logic this sample is identical to the "CoreHostSample".
The references to ArcGIS.Core.dll and ArcGIS.CoreHost.dll in Visual Studio have the "Copy Local" property set to "false".



<a href="https://pro.arcgis.com/en/pro-app/sdk/" target="_blank">View it live</a>

<!-- TODO: Fill this section below with metadata about this sample-->
```
Language: C#
Subject: Console
Contributor: ArcGIS Pro SDK Team <[email protected]>
Organization: Esri, https://www.esri.com
Date: 06/10/2022
ArcGIS Pro: 3.0
Visual Studio: 2022
.NET Target Framework: 4.6.1
```

## Resources

[Community Sample Resources](https://github.com/Esri/arcgis-pro-sdk-community-samples#resources)

### Samples Data

* Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the [Releases](https://github.com/Esri/arcgis-pro-sdk-community-samples/releases) page.

## How to use the sample
<!-- TODO: Explain how this sample can be used. To use images in this section, create the image file in your sample project's screenshots folder. Use relative url to link to this image using this syntax: ![My sample Image](FacePage/SampleImage.png) -->
1. Download the Community Sample data (see under the "Resources" section for downloading sample data). Make sure that the Sample data is unzipped in c:\data and "C:\Data\SDK\SDK.gdb" is available.
1. Open this solution in Visual Studio
1. Click the build menu and select Build Solution.
1. Specify a valid path to a file geodatabase as your debug command line parameter
1. Click the Start button to run the console app.
1. Note that the AppDomain is modified on startup to resolve the Assembly Paths for ArcGIS.Core.dll and ArcGIS.CoreHost.dll by using the ArcGIS Pro installation location.
1. View the table definition in your file geodatabase
![UI](Screenshots/ConsoleWindow.png)

1. Once the output stops press any key to close the application.



<!-- End -->

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://esri.github.io/arcgis-pro-sdk/images/ArcGISPro.png" alt="ArcGIS Pro SDK for Microsoft .NET Framework" height = "20" width = "20" align="top" >
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[Home](https://github.com/Esri/arcgis-pro-sdk/wiki) | <a href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference" target="_blank">API Reference</a> | [Requirements](https://github.com/Esri/arcgis-pro-sdk/wiki#requirements) | [Download](https://github.com/Esri/arcgis-pro-sdk/wiki#installing-arcgis-pro-sdk-for-net) | <a href="https://github.com/esri/arcgis-pro-sdk-community-samples" target="_blank">Samples</a>
51 changes: 51 additions & 0 deletions CoreHost/CoreHostResolveAssembly/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## CoreHostResolveAssembly

<!-- TODO: Write a brief abstract explaining this sample -->
This sample illustrates how to deploy a standalone CoreHost application that resolves the ArcGIS Pro location in order to load the dependent assemblies such as ArcGIS.Core.dll and ArcGIS.CoreHost.dll from the ArcGIS Pro install location.
Except for the dynamic assembly loading logic this sample is identical to the "CoreHostSample".
The references to ArcGIS.Core.dll and ArcGIS.CoreHost.dll in Visual Studio have the "Copy Local" property set to "false".



<a href="https://pro.arcgis.com/en/pro-app/sdk/" target="_blank">View it live</a>

<!-- TODO: Fill this section below with metadata about this sample-->
```
Language: C#
Subject: Console
Contributor: ArcGIS Pro SDK Team <[email protected]>
Organization: Esri, https://www.esri.com
Date: 06/10/2022
ArcGIS Pro: 3.0
Visual Studio: 2022
.NET Target Framework: 4.6.1
```

## Resources

[Community Sample Resources](https://github.com/Esri/arcgis-pro-sdk-community-samples#resources)

### Samples Data

* Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the [Releases](https://github.com/Esri/arcgis-pro-sdk-community-samples/releases) page.

## How to use the sample
<!-- TODO: Explain how this sample can be used. To use images in this section, create the image file in your sample project's screenshots folder. Use relative url to link to this image using this syntax: ![My sample Image](FacePage/SampleImage.png) -->
1. Download the Community Sample data (see under the "Resources" section for downloading sample data). Make sure that the Sample data is unzipped in c:\data and "C:\Data\SDK\SDK.gdb" is available.
1. Open this solution in Visual Studio
1. Click the build menu and select Build Solution.
1. Specify a valid path to a file geodatabase as your debug command line parameter
1. Click the Start button to run the console app.
1. Note that the AppDomain is modified on startup to resolve the Assembly Paths for ArcGIS.Core.dll and ArcGIS.CoreHost.dll by using the ArcGIS Pro installation location.
1. View the table definition in your file geodatabase
![UI](Screenshots/ConsoleWindow.png)

1. Once the output stops press any key to close the application.



<!-- End -->

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://esri.github.io/arcgis-pro-sdk/images/ArcGISPro.png" alt="ArcGIS Pro SDK for Microsoft .NET Framework" height = "20" width = "20" align="top" >
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[Home](https://github.com/Esri/arcgis-pro-sdk/wiki) | <a href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference" target="_blank">API Reference</a> | [Requirements](https://github.com/Esri/arcgis-pro-sdk/wiki#requirements) | [Download](https://github.com/Esri/arcgis-pro-sdk/wiki#installing-arcgis-pro-sdk-for-net) | <a href="https://github.com/esri/arcgis-pro-sdk-community-samples" target="_blank">Samples</a>
50 changes: 50 additions & 0 deletions CoreHost/CoreHostSample/CoreHostSample (C#).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## CoreHostSample

<!-- TODO: Write a brief abstract explaining this sample -->
ArcGIS Pro based console application reading from File Geodatabase



<a href="https://pro.arcgis.com/en/pro-app/sdk/" target="_blank">View it live</a>

<!-- TODO: Fill this section below with metadata about this sample-->
```
Language: C#
Subject: Console
Contributor: ArcGIS Pro SDK Team <[email protected]>
Organization: Esri, https://www.esri.com
Date: 06/10/2022
ArcGIS Pro: 3.0
Visual Studio: 2022
.NET Target Framework: 4.6.1
```

## Resources

[Community Sample Resources](https://github.com/Esri/arcgis-pro-sdk-community-samples#resources)

### Samples Data

* Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the [Releases](https://github.com/Esri/arcgis-pro-sdk-community-samples/releases) page.

## How to use the sample
<!-- TODO: Explain how this sample can be used. To use images in this section, create the image file in your sample project's screenshots folder. Use relative url to link to this image using this syntax: ![My sample Image](FacePage/SampleImage.png) -->
1. Download the Community Sample data (see under the "Resources" section for downloading sample data). Make sure that the Sample data is unzipped in c:\data and "C:\Data\SDK\SDK.gdb" is available.
1. Open this solution in Visual Studio
1. Click the build menu and select Build Solution.
1. Specify a valid path to a file geodatabase as your debug command line parameter
1. Click the Start button to run the console app.
1. View the table definition in your file geodatabase
![UI](Screenshots/ConsoleWindow.png)

1. Once the output stops press any key to close the application.
1. To reuse the ArcGIS Pro assemblies from the installation path, you can change the reference settings for
ArcGIS.Core.dll and ArcGIS.CoreHost.dll to be "Copy Local = False".



<!-- End -->

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://esri.github.io/arcgis-pro-sdk/images/ArcGISPro.png" alt="ArcGIS Pro SDK for Microsoft .NET Framework" height = "20" width = "20" align="top" >
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[Home](https://github.com/Esri/arcgis-pro-sdk/wiki) | <a href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference" target="_blank">API Reference</a> | [Requirements](https://github.com/Esri/arcgis-pro-sdk/wiki#requirements) | [Download](https://github.com/Esri/arcgis-pro-sdk/wiki#installing-arcgis-pro-sdk-for-net) | <a href="https://github.com/esri/arcgis-pro-sdk-community-samples" target="_blank">Samples</a>
50 changes: 50 additions & 0 deletions CoreHost/CoreHostSample/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## CoreHostSample

<!-- TODO: Write a brief abstract explaining this sample -->
ArcGIS Pro based console application reading from File Geodatabase



<a href="https://pro.arcgis.com/en/pro-app/sdk/" target="_blank">View it live</a>

<!-- TODO: Fill this section below with metadata about this sample-->
```
Language: C#
Subject: Console
Contributor: ArcGIS Pro SDK Team <[email protected]>
Organization: Esri, https://www.esri.com
Date: 06/10/2022
ArcGIS Pro: 3.0
Visual Studio: 2022
.NET Target Framework: 4.6.1
```

## Resources

[Community Sample Resources](https://github.com/Esri/arcgis-pro-sdk-community-samples#resources)

### Samples Data

* Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the [Releases](https://github.com/Esri/arcgis-pro-sdk-community-samples/releases) page.

## How to use the sample
<!-- TODO: Explain how this sample can be used. To use images in this section, create the image file in your sample project's screenshots folder. Use relative url to link to this image using this syntax: ![My sample Image](FacePage/SampleImage.png) -->
1. Download the Community Sample data (see under the "Resources" section for downloading sample data). Make sure that the Sample data is unzipped in c:\data and "C:\Data\SDK\SDK.gdb" is available.
1. Open this solution in Visual Studio
1. Click the build menu and select Build Solution.
1. Specify a valid path to a file geodatabase as your debug command line parameter
1. Click the Start button to run the console app.
1. View the table definition in your file geodatabase
![UI](Screenshots/ConsoleWindow.png)

1. Once the output stops press any key to close the application.
1. To reuse the ArcGIS Pro assemblies from the installation path, you can change the reference settings for
ArcGIS.Core.dll and ArcGIS.CoreHost.dll to be "Copy Local = False".



<!-- End -->

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://esri.github.io/arcgis-pro-sdk/images/ArcGISPro.png" alt="ArcGIS Pro SDK for Microsoft .NET Framework" height = "20" width = "20" align="top" >
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[Home](https://github.com/Esri/arcgis-pro-sdk/wiki) | <a href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference" target="_blank">API Reference</a> | [Requirements](https://github.com/Esri/arcgis-pro-sdk/wiki#requirements) | [Download](https://github.com/Esri/arcgis-pro-sdk/wiki#installing-arcgis-pro-sdk-for-net) | <a href="https://github.com/esri/arcgis-pro-sdk-community-samples" target="_blank">Samples</a>
45 changes: 45 additions & 0 deletions CoreHost/CoreHostTopologyAPI/CoreHostTopologyAPI (C#).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## CoreHostTopologyAPI

<!-- TODO: Write a brief abstract explaining this sample -->
Corehost standalone application shows how to open a Topology dataset and inspect the Topology rules and definitions.



<a href="https://pro.arcgis.com/en/pro-app/sdk/" target="_blank">View it live</a>

<!-- TODO: Fill this section below with metadata about this sample-->
```
Language: C#
Subject: Console
Contributor: ArcGIS Pro SDK Team <[email protected]>
Organization: Esri, https://www.esri.com
Date: 06/10/2022
ArcGIS Pro: 3.0
Visual Studio: 2022
.NET Target Framework: 4.6.1
```

## Resources

[Community Sample Resources](https://github.com/Esri/arcgis-pro-sdk-community-samples#resources)

### Samples Data

* Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the [Releases](https://github.com/Esri/arcgis-pro-sdk-community-samples/releases) page.

## How to use the sample
<!-- TODO: Explain how this sample can be used. To use images in this section, create the image file in your sample project's screenshots folder. Use relative url to link to this image using this syntax: ![My sample Image](FacePage/SampleImage.png) -->
1. Download the Community Sample data (see under the "Resources" section for downloading sample data). Make sure that the Sample data is unzipped in c:\data and "C:\Data\Topology\GrandTeton.gdb" is available.
1. Open this solution in Visual Studio
1. Make sure that the path specified in GRAND_TETON_GDB_FULL_PATH is valid
1. Compile and run the application.
1. View the topology’s metadata output by the sample app using the TopologyDefinition object.
![UI](Screenshots/Screen1.png)



<!-- End -->

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://esri.github.io/arcgis-pro-sdk/images/ArcGISPro.png" alt="ArcGIS Pro SDK for Microsoft .NET Framework" height = "20" width = "20" align="top" >
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[Home](https://github.com/Esri/arcgis-pro-sdk/wiki) | <a href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference" target="_blank">API Reference</a> | [Requirements](https://github.com/Esri/arcgis-pro-sdk/wiki#requirements) | [Download](https://github.com/Esri/arcgis-pro-sdk/wiki#installing-arcgis-pro-sdk-for-net) | <a href="https://github.com/esri/arcgis-pro-sdk-community-samples" target="_blank">Samples</a>
Loading

0 comments on commit fdd1057

Please sign in to comment.