Error on creating Cloud Media Context

Mohammad Modrek 1 Reputation point

Hi, I’m new in Azure cloud services.

I want to create analyze video file using Azure Media Service .

I fallow this Article step by step .

In this project I need some account and key. I create these accounts and copy and paste the accounts and keys and … but it doesn’t work. I guess I'm wrong somewhere in getting right account and …I need blew information and got these data in this way:

Storage Name , Storage Key : All resources / Click on Storage account that I created before / Access keys/ and grab dataas like as here :
Storage Container Name : for this I click on the storage Explorer and copy the name blew the BLOB CONTAINER :

Azure AD Tenant Name: I set it to ""
Client Id and REST API Endpoint : All resources / Click on Media Service that I created before / API Access/ and grab data as like as here

Is it current or not?

When I rum the application on this line :

_context.Assets.CreateFromFile(INPUT_FILE, AssetCreationOptions.None);

I got this error :

FileNotFoundException: Could not load file or assembly 'System.Runtime.Caching, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

Thanks in Advance

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
314 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. John Deutscher (MSFT) 2,126 Reputation points

    I would recommend that you walk through this more recent tutorial for Analyze a video file and see if you have more success.

    I'm not clear on which version of the .NET SDK you picked up and if that is current or not. Can you add details on which SDK version you are using?

    Make sure you are able to run these samples first to get started -

    0 comments No comments