How can we improve Azure Media Services?

videoId is dynamic type

in https://docs.microsoft.com/en-us/azure/media-services/video-indexer/video-indexer-use-apis#code-sample
when I run the part:

// get the video id from the upload result
var videoId = JsonConvert.DeserializeObject<dynamic>(uploadResult)["id"];
Debug.WriteLine("Uploaded");
Debug.WriteLine("Video ID: " + videoId);

It gives me a RuntimeBinderException like this:
Additional information: Cannot dynamically invoke method 'WriteLine' because it has a Conditional attribute.

1 vote
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)

We’ll send you updates on this idea

Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base