page_type | languages | products | description | urlFragment | ||
---|---|---|---|---|---|---|
sample |
|
|
The project in this repository was created using Visual Studio 2017. It targets netcoreapp2.0. The code in the project uses 'async main', |
media-services-v3-dotnet-quickstarts |
You can find the latest and most extensive .NET samples in the Azure Media Services v3 repository.
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 |
To run samples in this repository, you need:
- Visual Studio 2017 or Visual Studio Code
- An Azure Media Services account. See the steps described in Create a Media Services account.
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 |
- Clean and rebuild the solution.
- Add appropriate values to appsettings.json. For more information, see Access APIs.