using System.Collections.Generic;
public static void Main()
var hotelData = new SEOHotelPage();
var requestUri = "https://wjzudevstgpropertiesau.blob.core.windows.net/properties/en/105302.json";
var httpWebRequest = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(requestUri);
httpWebRequest.Method = System.Net.WebRequestMethods.Http.Get;
httpWebRequest.Accept = "application/json";
httpWebRequest.ContentType = "application/json; charset=UTF-8";
var httpWebResponse = (System.Net.HttpWebResponse)httpWebRequest.GetResponse();
using (var sr = new StreamReader(httpWebResponse.GetResponseStream(), UTF8Encoding.Unicode))
textResult = sr.ReadToEnd();
Console.WriteLine(textResult);
hotelData = JsonConvert.DeserializeObject<SEOHotelPage>(textResult);
Console.WriteLine("SEO getLatestJsonViaWebRequest failure {0}", ex.Message);
public class SEOHotelPage
public int HotelId { get; set; }
public double SequenceNumber { get; set; }
public IEnumerable<SEOHotelPropertyImage> Images { get; set; }
public IEnumerable<SEOHotelPropertyAmenity> HotelFacilities { get; set; }
public IEnumerable<SEOHotelPropertyAmenity> RoomFacilities { get; set; }
public SEOHotelPolicy Policy { get; set; }
public string Name { get; set; }
public string Address1 { get; set; }
public string Address2 { get; set; }
public string City { get; set; }
public string StateProvince { get; set; }
public string PostalCode { get; set; }
public string Country { get; set; }
public double Latitude { get; set; }
public double Longitude { get; set; }
public double StarRating { get; set; }
public string AirportCode { get; set; }
public string Location { get; set; }
public SEOHotelPropertyDescription Description { get; set; }
public class SEOHotelPropertyDescription
public string Text { get; set; }
public string Html { get; set; }
public class SEOHotelPolicy
public string Text { get; set; }
public string Html { get; set; }
public class SEOHotelPropertyAmenity
public string Name { get; set; }
public class SEOHotelPropertyImage
public string Caption { get; set; }
public string Url { get; set; }
public string ThumbnailUrl { get; set; }
public bool DefaultImage { get; set; }