<?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 Self hosted Webapi inside ArcGIS pro addin in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/self-hosted-webapi-inside-arcgis-pro-addin/m-p/1544809#M12142</link>
    <description>&lt;P&gt;Hi Everyone. My company has a AutoCAD Map 3D addin written in C# which is loaded when AutoCAD starts up. It has capabilities like linking a map object with actual SQL Database records.&amp;nbsp;We had a legacy application written in Visual Basic 6 which used to communicate with the AutoCAD instance and send commands like link, unlink etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However we upgraded the legacy application to web based solution. I was able to achieve the legacy app behaviour by creating a self hosted WebAPI inside the AutoCAD addin that acts as a listener and I make calls from my Web based application from the web browser to the self hosted webapi running inside AutoCAD and then I perform the link, unlink operations inside AutoCAD and send the response back to the web browser.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Now my company wants to support ArcGIS pro along with AutoCAD. I tried creating a self hosted webpi inside the ArcGIS addin but I havent been able to get it running at all. I keep getting Microsoft.Aspnet.core dll's missing or some or the other dll missing. I have been struggling to achieve this functionality.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have around 10 years of coding experience with C#, Asp.net, Blazor etc so I am sure I am not doing anything wrong with the code. I even tried using websockets, signalR to act as a listener but nothing has worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it even possible to achieve this functionality with ArcGIS pro? Any suggestion is welcome. I just need to create a PoC to say that yes we can support ArcGIS pro as well.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2024 15:02:14 GMT</pubDate>
    <dc:creator>AnkitC</dc:creator>
    <dc:date>2024-10-02T15:02:14Z</dc:date>
    <item>
      <title>Self hosted Webapi inside ArcGIS pro addin</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/self-hosted-webapi-inside-arcgis-pro-addin/m-p/1544809#M12142</link>
      <description>&lt;P&gt;Hi Everyone. My company has a AutoCAD Map 3D addin written in C# which is loaded when AutoCAD starts up. It has capabilities like linking a map object with actual SQL Database records.&amp;nbsp;We had a legacy application written in Visual Basic 6 which used to communicate with the AutoCAD instance and send commands like link, unlink etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However we upgraded the legacy application to web based solution. I was able to achieve the legacy app behaviour by creating a self hosted WebAPI inside the AutoCAD addin that acts as a listener and I make calls from my Web based application from the web browser to the self hosted webapi running inside AutoCAD and then I perform the link, unlink operations inside AutoCAD and send the response back to the web browser.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Now my company wants to support ArcGIS pro along with AutoCAD. I tried creating a self hosted webpi inside the ArcGIS addin but I havent been able to get it running at all. I keep getting Microsoft.Aspnet.core dll's missing or some or the other dll missing. I have been struggling to achieve this functionality.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have around 10 years of coding experience with C#, Asp.net, Blazor etc so I am sure I am not doing anything wrong with the code. I even tried using websockets, signalR to act as a listener but nothing has worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it even possible to achieve this functionality with ArcGIS pro? Any suggestion is welcome. I just need to create a PoC to say that yes we can support ArcGIS pro as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 15:02:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/self-hosted-webapi-inside-arcgis-pro-addin/m-p/1544809#M12142</guid>
      <dc:creator>AnkitC</dc:creator>
      <dc:date>2024-10-02T15:02:14Z</dc:date>
    </item>
  </channel>
</rss>

