Select to view content in your preferred language

Should i still be using ADF dlls?

874
3
08-22-2012 06:22 AM
KevinGooss
Regular Contributor
I'm upgrading a 10.0 application to 10.1 and i noticed that the ESRI.ArcGIS.ADF dlls are still available to reference from the GAC. Should i be relying on these or are they going to be deprecated after 10.1?
I saw in the deprecation plan that the editing capabilities of the ADF will go away. But can i still use those dlls safely for the foreseeable future?
My code uses Connection and Connection.AGS to make feature edits inside of web services via an SOE.
Tags (2)
0 Kudos
3 Replies
MattMoyles
Occasional Contributor
I don't think you can use any ADF libraries when running on ArcServer which is x64. Would ESRI.ArcGIS.GISClient work for you? Specifically IAGSServerConnection4 and IAGSServerConnectionAdmin?
0 Kudos
KevinGooss
Regular Contributor
the deprecation doc seems to indicate that these adf dlls were left in for back compat with 10.0 services.
I realize that editing via custom web services is going away (at least the dcom route) and that i probably need to refactor. But i figured i would at least try to breathe life into the old code first to see if it can still work.

Oddly enough, after adding in those 10.1 adf dlls, my compile is now blocked by this line:

IQueryFilter queryFilter = new QueryFilterClass();


Something to do with not having an initializer.

I will check on those classes you mentioned Matt
0 Kudos
KevinGooss
Regular Contributor
the query filter error was caused by the 'Embed Interop Types' property on the esri dll reference.
0 Kudos