I have a .Net web application with embedded maps, using the Arcgis javascript API. For non-interactive maps, I thought I would just make calls using c# to the REST endpoints. This works fine for returning a single image, but when I tried to work out how to highlight a feature, or overlay another map service layer I hit a brick wall.
The javascript solution works, except that there are a lot of server calls to produce a simple image, and it is still panning when I don't want it to.
I cannot see anyway to add a Graphics Layer to my "map", so am now thinking maybe I just have to stay with the javascript API. I have done a lot of reading (maybe too much!) but am now questioning my own understanding of the REST API.
I am consuming ArcGIS map services from a asp.Net MVC application. I have been using the javascript API in my razor views to provide simple zoom/pan functionality, but I am just wanting to display a static map image. I have managed to do this in my c# code to return an image to the view but I now realise that I only get part of the job done as I cannot highlight a feature (add graphic) nor overlay another mapservice.