Skip to content

Azure App Configuration in Configuration. #174

Description

@umashankarsharma

Is there any possibility to access the Azure App configuration. Below is how my code looks like.
Here is the link: https://docs.microsoft.com/en-us/azure/azure-app-configuration/quickstart-azure-functions-csharp

public class Configuration : FunctionMonkey.Abstractions.IFunctionAppConfiguration
{
    public void Build(IFunctionHostBuilder builder)
    {
        var conf = new ConfigurationBuilder().Build();
        builder.Setup((serviceCollection, commandRegistry) =>
            {
                serviceCollection.AddLogging();
                commandRegistry.Discover<Configuration>();
                serviceCollection.AddTransient<ISender, DocumentService>();
            }).Authorization(authorization => authorization.AuthorizationDefault(AuthorizationTypeEnum.Anonymous)
             ).Functions(functions => functions .HttpRoute("Upload", route => route.HttpFunction<UploadDocumentQuery>("/{env}",HttpMethod.Post)
                )
            );
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions