Creating an asset in media service account



public static string CreateBLOBContainer(string containerName)
        {
            try
            {
                string result = string.Empty;
                CloudMediaContext mediaContext;
                mediaContext = new CloudMediaContext(mediaServicesAccountName, mediaServicesAccountKey);
                IAsset asset = mediaContext.Assets.Create(containerName, AssetCreationOptions.None);
                return asset.Uri.ToString();
            }
            catch (Exception ex)
            {
                return ex.Message;
            }
        }
click below button to copy the code. By azure tutorial team

Related Searches to Creating an asset in media service account