page_type | languages | products | description | urlFragment | ||
---|---|---|---|---|---|---|
sample |
|
|
The project in this repository was created using Visual Studio 2019. It targets netcoreapp3.1. The code in the project uses 'async main', |
media-services-v3-dotnet-quickstarts |
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 2019. It targets netcoreapp3.1. 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:
- Visual Studio 2019 or Visual Studio Code
- An Azure Media Services account. See the steps described in Create a Media Services account.
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 |
Azure.Storage.Blobs | Blob 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.