Skip to content

Instantly share code, notes, and snippets.

@gusztavvargadr
Last active June 26, 2017 12:22
Show Gist options
  • Save gusztavvargadr/e854182696d36b0e45812bd165f22c4f to your computer and use it in GitHub Desktop.
Save gusztavvargadr/e854182696d36b0e45812bd165f22c4f to your computer and use it in GitHub Desktop.
var octopusSettings = new OctopusConfigurationProviderOptions
{
ServerAddress = new Uri("https://demo.octopusdeploy.com/"),
ApiKey = "API-GUEST",
ProjectName = "OctoFX Rate Service",
EnvironmentName = "Production"
};
var configurationBuilder = new ConfigurationBuilder();
configurationBuilder.AddOctopus(octopusSettings);
var configuration = configurationBuilder.Build();
vat databaseName = configuration["OctoFXDatabase"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment