File: AppHost.cs | Web Access |
Project: src\playground\AzureAppConfiguration\AzureAppConfiguration.AppHost\AzureAppConfiguration.AppHost.csproj (AzureAppConfiguration.AppHost) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. var builder = DistributedApplication.CreateBuilder(args); var appConfig = builder.AddAzureAppConfiguration("appconfig") .RunAsEmulator(emulator => { emulator.WithDataBindMount(); }); builder.AddProject<Projects.AzureAppConfiguration_Web>("web") .WithReference(appConfig); builder.Build().Run(); |