I see that the MobileService is obselete now and as so is the sdc layer class. Now I have to build a Map with Operational and Base Map layers. In the Mobile 10.0 how is it done? I need an urgent help on this.
// ESRI.ArcGIS.Mobile.CatalogServices.CatalogService cataService = new ESRI.ArcGIS.Mobile.CatalogServices.CatalogService();
//Mobile Service MobileService.Url = @"vv/ArcGIS/services/StormWaterMobile/MapServer/MobileServer"; //MobileService.Url = @"vv/ArcGIS/services/StormWaterMobile/MapServer/MobileServer";// Properties.Settings.Default.mapServiceUrl; //MobileService.Url = @"http://.ad/ArcGIS/services/StormWaterMobile_TestNew/MapServer/MobileServer"; //Validate the mobile service and open or create it MobileServiceConnection mblConn = MobileService.ServiceConnection; string mapName = MobileService.ServerMapName; if (MobileService.IsValid) { try { MobileService.Open(CacheOpenMode.OpenOrCreate);
MobileTaxService = new MobileService(); MobileTaxService.CacheStoragePath = (ApplicationPath + @"\MapCache\parcels");//@"C:\Temp\MapCache\parcels";