Is it possible to do so and then cite some ArcGIS references such as ESRI.ArcGIS.Geodatabase, ESRI.ArcGIS.Geometry and ESRI.ArcGIS.esriSystem to use ArcObjects? Thanks in advance.
Same problem here!!
Are you considered on developing a SOE(Server object extension)?
In this way, you have not to implement lucense checking, and the performance is more powerful!
Hope this helps!
Hi I am using an old way to build .net Web Services with ArcObjects 10.2.x or 10.4.x. This is not recommended anymore.
Public Sub New()
Try
ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop)
m_AOInit = New AoInitializeClass()
Dim licenseStatus As esriLicenseStatus = m_AOInit.Initialize(esriLicenseProductCode.esriLicenseProductCodeArcServer)
Catch ex As Exception
WebServiceExceptionHandler(ex, "Init Error")
End Try
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
End Sub
Protected Overrides Sub Finalize()
If Not m_AOInit Is Nothing Then
m_AOInit.Shutdown()
End If
MyBase.Finalize()
End Sub