I have a requirement to create local server services for a map package and a tile package. I can instantiate a LocalMapService using a MPK. But I cannot find a way to instantiate LocalMapService (or any other service type) for a TPK. Only way seem to be to create a ArcGISTiledLayer using TileCache which can only work in Runtime MapView.
Is it possible?
Local Server is there to fill a gap of features that might not be available out-of-the-box in Runtime. Runtime has native TPK support without local server, so AFAIK this isn't a feature that local server provides.
Thanks for a prompt reply Morten Nielsen
Another issue I found with Runtime Local Server is, it doesn't support CORS and doesn't support Referer in request header. Tried to play with crossdomain.xml and clientaccesspolicy.xml files in C:\Program Files (x86)\ArcGIS SDKs\LocalServer100.8\64\web\crossdomain folder. But it didn't make any difference.