Azure Media Services v3 quickstart starter samples

NOTE

You can find the latest and most extensive .NET samples in the Azure Media Services v3 repository.

Overview

The project in this repository was created using Visual Studio 2017. It targets netcoreapp2.0. The code in the project uses 'async main', which is available starting with C# 7.1. See this blog for more details.

The project supports the Azure Media Services v3 quickstarts article:

Project name Article
EncodeAndStreamFiles.csproj Stream files

Prerequisites

To run samples in this repository, you need:

NuGet packages

The following NuGet packages were added to the project:

Package Description
Microsoft.Azure.Management.Media Azure Media Services SDK.
To make sure you are using the latest Azure Media Services package, check Microsoft.Azure.Management.Media.
Microsoft.Rest.ClientRuntime.Azure.Authentication ADAL authentication library for Azure SDK for NET
Microsoft.Extensions.Configuration.EnvironmentVariables Read configuration values from environment variables and local JSON files
Microsoft.Extensions.Configuration.Json Read configuration values from environment variables and local JSON files
WindowsAzure.Storage Storage SDK

To run the project in the solution

  • Clean and rebuild the solution.
  • Add appropriate values to appsettings.json. For more information, see Access APIs.