Many projects in the Code Community require only the MapSuiteCore.dll (Services edition) allowing Desktop, Web, Silverlight users to run the project. If you want to convert those projects into Web projects, it is quite simple and you need only to understand a little bit about the Overlay/Layer differences between the Services and Web versions.
-In the Services edition, you add directly the layers to the collections: MapEngine.StaticLayers, MapEngine.DynamicLayers or MapEngine.AdornmentLayers.
-In the Web edition, you need to add to Overlays collection. Overlays are edition specific to take advantage of the Web or Desktop technology for enhanced drawing, speed etc. Layers are edition neutral.
So, let say that you have a shapefile:
Edition Neutral:
ShapeFileFeatureLayer Layer1 = new ShapeFileFeatureLayer(shapePath);
Layer1.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Country1;
Layer1.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
Services Edition:
mapEngine.StaticLayers.Add("WorldLayer", Layer1);
Web Edition:
LayerOverlay layerOverlay = new LayerOverlay("WorldOverlay", false, TileType.SingleTile);
layerOverlay.TransitionEffect = TransitionEffect.None;
layerOverlay.Layers.Add("WorldLayer", Layer1);
Map1.CustomOverlays.Add(layerOverlay);
I suggest you watch the video on Layers and you will have a better idea on how this all fit together.
gis.thinkgeo.com/Products/GI...fault.aspx