Skip to content

Instantly share code, notes, and snippets.

@jskopek
Created April 23, 2018 00:20
Show Gist options
  • Save jskopek/6d0cafae51cc304459c1171c1a69b4e4 to your computer and use it in GitHub Desktop.
Save jskopek/6d0cafae51cc304459c1171c1a69b4e4 to your computer and use it in GitHub Desktop.
using System;
namespace AzureMediaServicesEncoderNetCore
{
class Program
{
static void Main(string[] args)
{
// this is a big no-no in practice! never hard-code sensitive data or commit it to a repository
// a better approach would be to use a ConfigurationBuilder instance:
// https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-2.1&tabs=basicconfiguration
string tenantDomain = "-REPLACE ME-";
string restApiUrl = "-REPLACE ME-";
string clientId = "-REPLACE ME-";
string clientSecret = "-REPLACE ME-";
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment