stav

How Do I Send Geometries From Silverlight App to Server?

Discussion created by stav on Aug 7, 2012
Hello,

I want to send geometries from my Silverlight application to my server and get geometries back.

More specifically, I wanted to send geometries from my Silverlight application to an SOE on my server and get geometries back. I tried doing this by sending and receiving the geometries as a JSON. I serialized the geometries from Silverlight using DataContractJsonSerializer and in my SOE I used JsonObject to deserialize. The problem is that that the Silverlight API geometries don't match the ArcObject geometries.

So my questions are:
1. How can I send and receive geometries to and from an SOE from Silverlight?
2. How do I send geometries to my server from Silverlight (not necessarily to an SOE)?

-Thanks in advance

Outcomes