Hi there,
I've written several ArcGIS Mapping applications on Silverlight/WPF platform before, but this is the first time I'm trying to get my hands dirty with JavaScript API. I went through the tutorials and samples, and I have a question regarding the difference between the two platforms.
I noticed that all the requests sent to ArcGIS server are done in JavaScript itself. What I mean to say is, while in Silverlight platform, I always wrote the core functions such as IdentifyTask, Buffer, GeometryTranslation etc in a WCF service. Then Silverlight would consume that service. That way, I used Silverlight only for input/output purposes. All the requests/responses to/from ArcGIS server were done in WCF, and handed back to Silverlight.
So, can I still consume a WCF service from JavaScript similarly? Or that isn't the way how things are done on this platform? And if former is the case, could anyone please post examples on how to do so?
Thanks