Select to view content in your preferred language

Create web api and call arcgis .net SDK to get driving directions.

201
1
09-11-2024 12:30 PM
JayBowman12
Emerging Contributor

I need to write a web api to return only the driving directions from a navigation route solution. I want to do this in dotnet with your dotnet runtime SDK. Is this possible or do I need to be in a Windows UI project like WPF, WinUI. Can this be done in a C# Web API project?

0 Kudos
1 Reply
MichaelBranscomb
Esri Frequent Contributor

The terms of use for the ArcGIS Maps SDK for .NET don't permit building web APIs ("License may not be used to develop Internet or server-based Value-Added Applications"). The SDK is intended for creating end-user native apps that are installed on mobile, desktop, etc devices. It does support more than just Windows though, because you can also build for Android and iOS, using .NET MAUI.

If you need to build a web service, perhaps you can use the Routing service available with ArcGIS Location Platform, and call the REST API from .NET? 

Routing | ArcGIS REST APIs | ArcGIS Developers 

 

If you have time, we are gathering requirements for a .NET API that would support building server/service-based apps, I'd love to hear more about your project: MBranscomb@esri.com.

 

Thanks