async void LoadModelFromWeb(
            AdnDbModelData data)
        {
            try
            {
                string _hostAddress = "23.23.212.64:80";

                HttpWebRequest request = WebRequest.Create(
                       "http://" + _hostAddress + "/AdnViewerSrv/rest/GetMeshData/" + data.ModelId)
                           as HttpWebRequest;

                using (HttpWebResponse response = await request.GetResponseAsync()
                            as HttpWebResponse)
                {
                    StreamReader reader =
                        new StreamReader(response.GetResponseStream());

                    string jsonMsgZipped = reader.ReadToEnd().
                        Replace("\\", "").
                        Replace("\"", "");

                    string jsonMsg = AdnDataUtils.Decompress(
                        jsonMsgZipped);

                    _currentMeshData =
                        JsonConvert.DeserializeObject
                            <List<AdnMeshData>>(jsonMsg);

                    _renderer.LoadModel(_currentMeshData);

                    SaveToLocal(
                        data,                       
                        jsonMsgZipped);
                }
            }
            catch
            {

            }
        }
        public ViewerPage(AdnDbModelData data)
            : this()
        {
            _currentModelData = data;

            _renderer.OnDrawEvent +=
                OnContentLoaded;
        }
        private async void SaveToLocal(
            AdnDbModelData data,
            string json)
        {
            StorageFolder localFolder = ApplicationData.Current.LocalFolder;

            StorageFolder folder = await localFolder.CreateFolderAsync(
                "LocalModels",
                CreationCollisionOption.OpenIfExists);

            StorageFile file = await folder.CreateFileAsync(
                data.ModelName,
                CreationCollisionOption.ReplaceExisting);

            await FileIO.WriteTextAsync(file, json);
        }