static Response ReadResponse(string json)
        {
            var objects = JObject.Parse(json);

            Response r = new Response();
            r.Status = objects.SelectToken("StatusCode").ToString();

            if (!string.IsNullOrEmpty(objects["Details"].ToString()))
                r.Details = objects["Details"].ToString();

            if (string.IsNullOrEmpty(objects["Results"].ToString()))
                return r;

            var outputList = JObject.Parse(objects["Results"].ToString());

            foreach (var _output in outputList)
            {
                res_output rop = new res_output();
                rop.Name = _output.Key;
                rop.ConnectionString = _output.Value["ConnectionString"] != null ? _output.Value["ConnectionString"].ToString() : null;
                rop.RelativeLocation = _output.Value["RelativeLocation"] != null ? _output.Value["RelativeLocation"].ToString() : null;
                rop.BaseLocation = _output.Value["BaseLocation"] != null ? _output.Value["BaseLocation"].ToString() : null;
                rop.SasBlobToken = _output.Value["SasBlobToken"] != null ? _output.Value["SasBlobToken"].ToString() : null;

                r.lOutput.Add(rop);
            }
            return r;
        }
        private void CreateOutput(Response r)
        {
            if (r.lOutput == null || r.lOutput.Count == 0)
                return;
            PlaceHolderOutput.Controls.Add(new LiteralControl("<h3>List of Outputs</h3>"));
            PlaceHolderOutput.Controls.Add(new LiteralControl("<table class=\"table  table-bordered table-hover\">"));
            PlaceHolderOutput.Controls.Add(new LiteralControl("<tr><th>Name</th><th >Relative Location</th><th style=\"width: 10%;\"></th></tr>"));
            foreach (res_output output in r.lOutput)
            {
                PlaceHolderOutput.Controls.Add(new LiteralControl("<tr>"));

                PlaceHolderOutput.Controls.Add(new LiteralControl("<td>" + output.Name + "</td>"));
                PlaceHolderOutput.Controls.Add(new LiteralControl("<td>" + output.RelativeLocation + "</td>"));
                PlaceHolderOutput.Controls.Add(new LiteralControl("<td><a href=\"" + output.BaseLocation + output.RelativeLocation + "\" class=\"btn btn-primary btnSubmit\">Download</a></td>"));
                PlaceHolderOutput.Controls.Add(new LiteralControl("</tr>"));
            }

            PlaceHolderOutput.Controls.Add(new LiteralControl("</table>"));
        }