We are using Azure Media Services Rest API in PCL by following your Rest API sample Project (Program.cs file)
//The response is in JSON so create a JSON reader to read it //and convert it to XML for further processing var reader = JsonReaderWriterFactory.CreateJsonReader(Encoding.UTF8.GetBytes(responseString), new XmlDictionaryReaderQuotas()); xmlResponse = new XmlDocument(); reader.Read(); xmlResponse.LoadXml(reader.ReadInnerXml());
We are able to migrate all of your code to PCL except above few lines, those lines are very important for us when we are trying to get publish URL. because of above code not working we are not able to get the publish URL as XMLDocument is null
I want you guys please re-write above few lines of code in PCL to work as soon as possible.
PS: we already tried using newtonsoft.net but it is not able to convert to XMLDocument. Give us a tested version of code if possible :-)
We are using Azure Media Services Rest API in PCL by following your Rest API sample Project (Program.cs file)
//The response is in JSON so create a JSON reader to read it //and convert it to XML for further processing var reader = JsonReaderWriterFactory.CreateJsonReader(Encoding.UTF8.GetBytes(responseString), new XmlDictionaryReaderQuotas()); xmlResponse = new XmlDocument(); reader.Read(); xmlResponse.LoadXml(reader.ReadInnerXml());
We are able to migrate all of your code to PCL except above few lines, those lines are very important for us when we are trying to get publish URL. because of above code not working we are not able to get the publish URL as XMLDocument is null
I want you guys please re-write above few lines of code in PCL to work as soon as possible.
PS: we already tried using
newtonsoft.net
but it is not able to convert toXMLDocument
. Give us a tested version of code if possible :-)