Select to view content in your preferred language

Using ArcGIS Pro SDK Core Host in ASP .NET 6

392
0
03-02-2023 05:11 PM
Piyush
by
New Contributor

Hello,

We are migrating a .NET web application with 10.2 Arcobjects SDK into .NET 6 with Pro SDK Core Host libraries which has simple GIS functionality like reading a feature or rater for a point. The console application with Pro SDK core host libraries to achieve this functionalities works well but as soon I use this in the web application it gives error "Host must be initialized on an STA Thread" while doing Host.Initialize();

Is there any way to use this in web application?

Thanks & Regards

Piyush

0 Kudos
0 Replies