How to create faster stand-alone map application with arcengine?

665
2
06-04-2012 12:24 PM
NazirJafarov
New Contributor
I'm trying to create map navigation desktop application with arcgis engine amd .net. I want to create it more faster.

Can I use ArcGis Server caching service with desktop application?
if it is possible how can i do iit? And what the best way to develop faster map stand-alone desktop application?


please help me.
0 Kudos
2 Replies
SumitSharma
New Contributor III
Hello Jafarov,

From your post I understand that you are trying to add ArcGIS service inside your engine application and wondering if this is a possible workflow.

Surely this is a possible workflow.

Please refer to following forum on how to do it:

--http://forums.esri.com/Thread.asp?c=158&f=2276&t=279387

Cheers!!

Sumit
0 Kudos
NazirJafarov
New Contributor
Thanks  Sumit.

I tryed this example but i have error in connectionFactory.Open(connectionProps, this.Handle.ToInt32()); - Generic server error message.

ESRI.ArcGIS.GISClient.IAGSServerConnectionFactory2 connectionFactory;
            connectionFactory = (ESRI.ArcGIS.GISClient.IAGSServerConnectionFactory2)new ESRI.ArcGIS.GISClient.AGSServerConnectionFactory();
            //create a property set to hold connection properties
            IPropertySet connectionProps;
            connectionProps = new PropertySet();
            //specify the URL for the server
            connectionProps.SetProperty("URL", "http://services.arcgisonline.com/arcgis/services");
            //define username and password for the connection
            //connectionProps.SetProperty("USER", "<USER>");
            //connectionProps.SetProperty("PASSWORD", "<PASS>");
            //open the server connection, pass in the property set, get a connection object back
            ESRI.ArcGIS.GISClient.IAGSServerConnection gisServer;
            gisServer = connectionFactory.Open(connectionProps, this.Handle.ToInt32());


What is wrong ?
I'am using arcengine 9.3, arcgis server 9.3.1 and .net


Help me. please
Thanks..
0 Kudos