Jun 10, 2013 at 8:18 AM
Edited Jun 10, 2013 at 8:20 AM
What about WMS server GeoJson support?
Take a look at sharpmap code and the SharpMap.Demo.Wms project.
Here you can find useful code to implement your tasks.
More specifically: the easier way I've used to implement tasks like yours is via a specific httphandler with custom code that query the sharpmap map and layer objects, retrieve te geometric data and serialize the geojson response.
Try to take a look at this code first: SharpMap.Demo.Wms.StdJsonMapHandler and the Leaflet sample, that retrieve GeoJSON data as you may need to do.
Then let me see how I can help you.