Migrating to 10.1, replacing AGSServerConnection

290
2
07-24-2012 11:10 PM
StefanOffermann
Occasional Contributor II
Hello,

in ArcGIS 10.1, local DCOM connections to arcgis server are not supported. I have to migrate my code which is using the class `AGSServerConnection` to connect to ArcGIS server. How can I connect to ArcGIS Server in 10.1? I can not find any hint in the developer help from visual studio.

The use case is to create and update features via Geodatabase service. May be I have to use feature service instead?

Best regards, Stefan
0 Kudos
2 Replies
nicogis
MVP Frequent Contributor
Stefan, now ags 10.1 is pure http/https for connection.

for administrator you can use rest api admin: http://resources.arcgis.com/en/help/server-admin-api/
see also http://resources.arcgis.com/en/help/main/10.1/0154/0154000005p3000000.htm
In my blog I have added some samples with c#: http://nicogis.blogspot.it/2012/10/ags-101-restful-administrative-api.html

if you need pure arcobjects (server side) you can develop soe (soap/rest):
http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/What_is_a_server_object_extensio...
migrate soe previous 10.1 to 10.1
http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/0001/000100000p4s000000.htm

if you need add/edit/delete feature you can use feature service.

What do you need do?
0 Kudos