1 - a polygon drawn in a GraphicsLayer.
2 - a set of points contained in the polygon. These points are stored in a ArcGISDynamicMapServiceLayer
The idea is to display the graphicsLayer in the back and the dynamicLayer in the front. However, arcgis always displays the layers in the inverse order (graphicslayer in the front and dynamicLayer in the back).
to no avail.